Because Nuxt 3 is still not feature complete with, for example, the markdown, image plugin and static hosting. I decided to re-do my portfolio. But this time in the new Astro framework to dive deep and to see how quickly I can get up to speed. And needless to say, in a couple hours I am almost completly done.
All commands are run from the root of the project, from a terminal:
Command | Action |
---|---|
corepack enable pnpm |
Enables and install pnpm on your system |
pnpm install |
Installs dependencies |
pnpm run dev |
Starts local dev server at localhost:4321 |
pnpm dlx @astrojs/upgrade |
Run the Astro upgrade tool for automatic updates |
pnpm run build |
Build your production site to ./dist/ |
pnpm run preview |
Preview your build locally, before deploying |
pnpm run format |
Run prettier formatter for the whole project |
pnpm run astro ... |
Run CLI commands like astro add , astro check |
pnpm run astro --help |
Get help using the Astro CLI |
Check out our documentation or join the Discord server.