Inside of your Astro project, you'll see the following folders and files:
/
├── public/
│ └── favicon.svg
├── src/
│ ├── components/
│ │ ├── A.astro
│ │ ├── ACard.astro
│ │ └── Header.astro
│ ├── layouts/
│ │ └── Layout.astro
│ ├── pages/
│ │ ├── index.astro
│ │ ├── quick-view/
│ │ │ ├── index.astro
│ │ │ └── github.astro
│ │ └── quotes/
│ │ └── [slug].astro
│ ├── actions/
│ │ ├── github/
│ │ │ └── repositories.ts
│ │ └── github-profile.ts
│ ├── content/
│ │ ├── blog/
│ │ │ └── *.md
│ │ ├── license/
│ │ │ └── code.mdx
│ │ ├── policy/
│ │ │ └── *.md
│ │ └── profile/
│ │ └── *.md
│ ├── content.config.ts
│ └── tailwind.config.mjs
├── package.json
└── README.md
All commands are run from the root of the project, from a terminal:
| Command | Action |
|---|---|
npm install |
Installs dependencies |
npm run dev |
Starts local dev server at localhost:4321 |
npm run build |
Build your production site to ./dist/ |
npm run preview |
Preview your build locally, before deploying |
npm run astro ... |
Run CLI commands like astro add, astro check |
npm run astro -- --help |
Get help using the Astro CLI |
This code is licensed under the GNU AGPL Version 3 license and is subject to all the permissions, conditions and limitations described within it. To learn more, read the LICENSE file attached here
This site & its non-image content by Naparajith T L are licensed under CC BY-NC-SA 4.0
All images by Naparajith T L are licensed under CC BY-NC-ND 4.0