Skip to content

rRoler/rRoler.github.io

Repository files navigation

Development

Commands

Important

Make sure you have Node.js and pnpm installed before running the commands.

All commands are run from the root of the project, from a terminal:

Command Action
pnpm install Installs dependencies
pnpm run dev Starts local dev server at localhost:4321
pnpm run lint Run linter
pnpm run lint:fix Fix lint issues
pnpm run format Run code formatter
pnpm run format:write Format code
pnpm run flint Format code and fix lint issues
pnpm run build Build your production site to ./dist/
pnpm run preview Preview your build locally, before deploying
pnpm run astro ... Run CLI commands like astro add