All commands are run from the root of the project, from a terminal:
Command | Action |
---|---|
pnpm install |
Installs dependencies |
pnpm run pages:dev |
Run the development server at localhost:8788 |
pnpm run pages:deploy |
Deploy your application |
pnpm run preview |
Preview your build locally, before deploying |
pnpm run astro ... |
Run CLI commands like astro add , astro check |
pnpm run astro -- --help |
Get help using the Astro CLI |
Feel free to check our documentation or jump into our Discord server. Read the documentation https://developers.cloudflare.com/pages Stuck? Join us at https://discord.gg/cloudflaredev