KaOS Astro.js based website
- JavaScript 40.3%
- Astro 26%
- XSLT 20.1%
- MDX 6.8%
- TypeScript 3.9%
- Other 2.9%
|
demm
18bf8f8e9d
removed systemd/journalctl from docs.mdx
started adding some dinit commands & links corrections/additions niri.mdx |
||
|---|---|---|
| public | June Dinit ISO release, | |
| src | removed systemd/journalctl from docs.mdx | |
| .gitignore | start adding new astro based website | |
| astro.config.mjs | June Dinit ISO release, | |
| LICENSE | Initial commit | |
| package-lock.json | June Dinit ISO release, | |
| package.json | June Dinit ISO release, | |
| README.md | start adding new astro based website | |
| tailwind.config.mjs | start adding new astro based website | |
| tsconfig.json | start adding new astro based website | |
KaOS Astro based website
Features:
- ✅ 99/100 Lighthouse performance
- ✅ SEO-friendly with canonical URLs and OpenGraph data
- ✅ Sitemap support
- ✅ RSS Feed support
- ✅ Markdown & MDX support
🚀 Project Structure
├── public/
├── src/
│ ├── components/
│ ├── content/
│ ├── layouts/
│ └── pages/
│ └── styles/
│ └── utils/
├── astro.config.mjs
├── README.md
├── package.json
└── tsconfig.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: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 |
👀 Want to learn more?
Check out Astro documentation.