- References - Not required
- Setup
- Run From Doc
- Make Fontmatter Optional
- Route and Side Bar
- Make sidebar colapsable
-
npx astro add tailwind
-
npm install @astrojs/starlight-tailwind
- npx astro add alpinejs
-
npm install @rollup/plugin-yaml
-
Modify astro.config.mjs
import { defineConfig } from 'astro/config';
import yaml from '@rollup/plugin-yaml';
export default defineConfig({
// ...
vite: {
plugins: [yaml()],
},
});