Astro looks for .astro
or .md
files in the src/pages/
directory. Each page is exposed as a route based on its file name.
Any static assets, like images, can be placed in the public/
directory.
All blog posts are stored in src/content/blog
directory.
- Install the package manager -
npm install -g pnpm
- Install the dependencies -
pnpm i
- Build the site -
pnpm build
- Now you are ready to get started -
pnpm run dev
All commands are run from the root of the project, from a terminal:
pnpm install
- Installs dependenciespnpm test
- Runs the playwright e2e testspnpm run dev
- Starts local dev server atlocalhost:3000
pnpm run build
- Build your production site to./dist/
pnpm run preview
- Preview your build locally, before deployingpnpm run format:check
- Check code format with Prettierpnpm run format
- Format codes with Prettierpnpm run sync
- Generates TypeScript types for all Astro modules. Learn more.pnpm run cz
- Commit code changes with commitizenpnpm run lint
- Lint with ESLint
Licensed under the MIT License, Copyright © 2023
Based on the awesome paper template by Sat Naing 🙏