Website for www.vacationswithcharacter.com.
- Node.js 18+
- pnpm
| Variable | Context | Description |
|---|---|---|
PUBLIC_FORMSPREE_FORM_ID |
Client | Formspree form ID (8 chars) |
STORYBLOK_ACCESS_TOKEN |
Server | Storyblok API token |
- Clone the repo
- Create
.envwith required variables - Install dependencies:
pnpm install
- Start dev server:
pnpm dev
| Command | Description |
|---|---|
pnpm dev |
Start dev server at localhost:4321 |
pnpm build |
Type-check and build for production |
pnpm preview |
Preview production build locally |
pnpm format:check |
Check code formatting |
pnpm format:write |
Fix code formatting |
src/
├── assets/ # Images, fonts
├── components/ # Astro components
├── layouts/ # Page layouts
├── lib/ # Utilities, Storyblok client
├── pages/ # Routes
└── styles/ # Global CSS
- main: Production (www.vacationswithcharacter.com)
- preview: Staging (preview.vacationswithcharacter.com)
- **storyblok88: Blog (local development)
@assets/*→src/assets/*@components/*→src/components/*@layouts/*→src/layouts/*@lib/*→src/lib/*