Website of the CERN EP-NU group, based on the astroship theme.
Make sure you are inside your project folder first.
npm install
- To see changes you make to the website in real time:
npm run dev
To properly build it and and see the result:
npm run build
npm run preview
Inside of your Astro project, you'll see the following folders and files:
/
├── public/
│ └── ...
├── src/
│ ├── components/
│ │ └── ...
│ ├── layouts/
│ │ └── ...
│ └── pages/
│ └── ...
└── package.json
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.
Check out Astro Docs
Follow the CERN guide for mk-docs