/scrooge-astro

Astro-Docs

Primary LanguageAstro

๐Ÿš€ Structure

/
โ”œโ”€โ”€ public/           //่ต„ๆบๆ–‡ไปถ
โ”‚   โ””โ”€โ”€ favicon.svg
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ components/   //็ป„ไปถ
โ”‚   โ”‚   โ””โ”€โ”€ Card.astro
โ”‚   โ”œโ”€โ”€ layouts/      //ๅธƒๅฑ€็ป„ไปถ
โ”‚   โ”‚   โ””โ”€โ”€ Layout.astro
โ”‚   โ””โ”€โ”€ pages/        //้กต้ขๆ–‡ไปถ
โ”‚       โ””โ”€โ”€ index.astro
โ””โ”€โ”€ package.json

๐Ÿงž Commands

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:3000
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 preview
npm run astro --help Get help using the Astro CLI