You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
6 months ago | |
---|---|---|
.github/workflows | 7 months ago | |
.vscode | 7 months ago | |
public | 6 months ago | |
src | 6 months ago | |
.gitignore | 7 months ago | |
.prettierrc | 7 months ago | |
README.md | 7 months ago | |
astro.config.mjs | 7 months ago | |
package-lock.json | 6 months ago | |
package.json | 6 months ago | |
tailwind.config.cjs | 6 months ago | |
tsconfig.json | 7 months ago |
README.md
XS Next Lab Website
Production version available []
Project Structure
Inside of your Astro project, you'll see the following folders and files:
/
├── public/
│ └── favicon.svg
├── src/
│ ├── components/
│ ├── layouts/
│ │ └── Layout.astro
│ └── pages/
│ ├── articles/
│ │ └── article.md
│ └── index.astro
├── astro.config.mjs
├── tailwind.config.js
├── .eslintrc.js
├── .prettierrc
└── package.json
Place assets in the public/articleAssets/[articleNumber]/
directory, where article number is a one-indexed number of the article
Articles go inside the src/pages/articles/
directory.
🧞 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 |