MunichMakerLab Website
this website has been built with astro and tries to minimize the gotchas and special purpose additions for maintainabilities sake.
🚀 Project Structure
Inside of this project, you'll see the following folders and files:
/
├── public/
│ └── favicon.svg
├── src/
│ ├── layouts/
│ │ └── Layout.astro
│ └── pages/
│ └── index.astro
└── package.json
To learn more about the folder structure of an Astro project, refer to our guide on project structure. Tl;dr: The actual pages of the website are in src/pages and are mostly markdown. Adding another page should be as easy as just creating another file, copy-pasting the head section and customizing it and the page itself.
🧞 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: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 |
npm run lint |
Lint the project with ESLint |
npm run format:check |
Check Code Styling with Prettier |
👀 Want to learn more?
Feel free to check our documentation or jump into our Discord server.