|
1 | | -import { defineConfig } from 'astro/config'; |
2 | | -import starlight from '@astrojs/starlight'; |
3 | | -import react from '@astrojs/react'; |
| 1 | +import react from "@astrojs/react"; |
| 2 | +import starlight from "@astrojs/starlight"; |
| 3 | +import { defineConfig } from "astro/config"; |
4 | 4 |
|
5 | 5 | // https://astro.build/config |
6 | 6 | export default defineConfig({ |
7 | | - vite: { |
8 | | - ssr: { |
9 | | - noExternal: ['@radix-ui/themes'], |
10 | | - }, |
11 | | - }, |
12 | | - base: 'reactlit', |
13 | | - site: 'https://mshafir.github.io', |
14 | | - integrations: [ |
15 | | - starlight({ |
16 | | - title: 'Reactlit', |
17 | | - logo: { |
18 | | - src: '/src/assets/ReactlitwText.png', |
19 | | - alt: 'Reactlit', |
20 | | - replacesTitle: true, |
21 | | - }, |
22 | | - customCss: ['/src/styles/app.css'], |
23 | | - social: { |
24 | | - github: 'https://github.com/mshafir/reactlit', |
25 | | - }, |
26 | | - sidebar: [ |
27 | | - { |
28 | | - label: 'Guides', |
29 | | - items: [ |
30 | | - { label: 'Getting Started', slug: 'guides/getting-started' }, |
31 | | - { label: 'Installation', slug: 'guides/installation' }, |
32 | | - { label: 'Basics', slug: 'guides/basics' }, |
33 | | - { label: 'Data Fetching', slug: 'guides/data-fetching' }, |
34 | | - { label: 'Wrappers', slug: 'guides/wrappers' }, |
35 | | - { label: 'Layout', slug: 'guides/layout' }, |
36 | | - { label: 'Managed State', slug: 'guides/managed-state' }, |
37 | | - { label: 'Defining Views', slug: 'guides/defining-views' }, |
38 | | - ], |
39 | | - }, |
40 | | - // { |
41 | | - // label: 'Reference', |
42 | | - // autogenerate: { directory: 'reference' }, |
43 | | - // }, |
44 | | - ], |
45 | | - }), |
46 | | - react(), |
47 | | - ], |
| 7 | + vite: { |
| 8 | + ssr: { |
| 9 | + noExternal: ["@radix-ui/themes"], |
| 10 | + }, |
| 11 | + }, |
| 12 | + base: "reactlit", |
| 13 | + site: "https://mshafir.github.io", |
| 14 | + integrations: [ |
| 15 | + starlight({ |
| 16 | + title: "Reactlit", |
| 17 | + logo: { |
| 18 | + src: "/src/assets/ReactlitwText.png", |
| 19 | + alt: "Reactlit", |
| 20 | + replacesTitle: true, |
| 21 | + }, |
| 22 | + customCss: ["/src/styles/app.css"], |
| 23 | + social: { |
| 24 | + github: "https://github.com/mshafir/reactlit", |
| 25 | + }, |
| 26 | + sidebar: [ |
| 27 | + { |
| 28 | + label: "Guides", |
| 29 | + items: [ |
| 30 | + { label: "Getting Started", slug: "guides/getting-started" }, |
| 31 | + { label: "Installation", slug: "guides/installation" }, |
| 32 | + { label: "Basics", slug: "guides/basics" }, |
| 33 | + { label: "Data Fetching", slug: "guides/data-fetching" }, |
| 34 | + { label: "Wrappers", slug: "guides/wrappers" }, |
| 35 | + { label: "Layout", slug: "guides/layout" }, |
| 36 | + { label: "Managed State", slug: "guides/managed-state" }, |
| 37 | + { label: "Defining Views", slug: "guides/defining-views" }, |
| 38 | + ], |
| 39 | + }, |
| 40 | + // { |
| 41 | + // label: 'Reference', |
| 42 | + // autogenerate: { directory: 'reference' }, |
| 43 | + // }, |
| 44 | + ], |
| 45 | + }), |
| 46 | + react(), |
| 47 | + ], |
48 | 48 | }); |
0 commit comments