mirror of
https://github.com/gabehf/Koito.git
synced 2026-03-08 23:18:15 -07:00
36 lines
No EOL
964 B
JavaScript
36 lines
No EOL
964 B
JavaScript
// @ts-check
|
|
import { defineConfig } from 'astro/config';
|
|
import starlight from '@astrojs/starlight';
|
|
|
|
import tailwindcss from '@tailwindcss/vite';
|
|
|
|
// https://astro.build/config
|
|
export default defineConfig({
|
|
integrations: [
|
|
starlight({
|
|
title: 'Koito Docs',
|
|
social: [{ icon: 'github', label: 'GitHub', href: 'https://github.com/gabehf/koito' }],
|
|
sidebar: [
|
|
{
|
|
label: 'Guides',
|
|
items: [
|
|
// Each item here is one entry in the navigation menu.
|
|
{ label: 'Example Guide', slug: 'guides/example' },
|
|
],
|
|
},
|
|
{
|
|
label: 'Reference',
|
|
autogenerate: { directory: 'reference' },
|
|
},
|
|
],
|
|
customCss: [
|
|
// Path to your Tailwind base styles:
|
|
'./src/styles/global.css',
|
|
],
|
|
}),
|
|
],
|
|
|
|
vite: {
|
|
plugins: [tailwindcss()],
|
|
},
|
|
}); |