create-vexcms 0.1.0-alpha.2 → 0.1.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -3
- package/dist/index.js +1183 -1013
- package/package.json +1 -1
- package/templates/base-nextjs/README.md +11 -3
- package/templates/base-nextjs/convex/tsconfig.json +2 -2
- package/templates/base-nextjs/package.json +6 -7
- package/templates/marketing-site/src/components/motion-primitives/animated-group.tsx +44 -120
- package/templates/marketing-site/src/components/motion-primitives/reveal.module.css +32 -0
- package/templates/marketing-site/src/components/motion-primitives/text-effect.tsx +41 -267
- package/templates/marketing-site/src/vexcms/blocks/Hero/index.tsx +10 -44
package/README.md
CHANGED
|
@@ -114,9 +114,17 @@ replacing the generated placeholder values so the app stops pointing at
|
|
|
114
114
|
|
|
115
115
|
The installer writes `.env.local` with a generated `BETTER_AUTH_SECRET`,
|
|
116
116
|
`NEXT_PUBLIC_SITE_URL`, and `SITE_URL` already filled in — only the two Convex URLs above need
|
|
117
|
-
replacing for local dev.
|
|
118
|
-
|
|
119
|
-
|
|
117
|
+
replacing for local dev.
|
|
118
|
+
|
|
119
|
+
Better Auth runs *inside* the Convex deployment, not the Next.js server, so it never reads
|
|
120
|
+
`.env.local`. Push the same two values to the deployment itself:
|
|
121
|
+
|
|
122
|
+
```bash
|
|
123
|
+
npx convex env set SITE_URL http://localhost:3010
|
|
124
|
+
npx convex env set BETTER_AUTH_SECRET <the BETTER_AUTH_SECRET value from .env.local>
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
Skipping this step is the most common cause of a `403` on the first sign-in attempt.
|
|
120
128
|
|
|
121
129
|
### 3. Run the dev servers
|
|
122
130
|
|