Skip to content

Commit 842744c

Browse files
committed
Change srcDir
1 parent f6bd910 commit 842744c

File tree

7 files changed

+33
-26
lines changed

7 files changed

+33
-26
lines changed

astro.config.mjs

Lines changed: 33 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,38 @@
11
// @ts-check
2-
import { defineConfig } from 'astro/config';
3-
import starlight from '@astrojs/starlight';
4-
import tailwindcss from '@tailwindcss/vite';
2+
import { defineConfig } from "astro/config";
3+
import starlight from "@astrojs/starlight";
4+
import tailwindcss from "@tailwindcss/vite";
55

66
// https://astro.build/config
77
export default defineConfig({
8-
integrations: [
9-
starlight({
10-
title: 'Docs with Tailwind',
11-
social: [{ icon: 'github', label: 'GitHub', href: 'https://github.com/withastro/starlight' }],
12-
sidebar: [
13-
{
14-
label: 'Guides',
15-
items: [
16-
// Each item here is one entry in the navigation menu.
17-
{ label: 'Example Guide', slug: 'guides/example' },
18-
],
19-
},
20-
{
21-
label: 'Reference',
22-
autogenerate: { directory: 'reference' },
23-
},
24-
],
25-
customCss: ['./src/styles/global.css'],
26-
}),
27-
],
28-
vite: {
29-
plugins: [tailwindcss()],
30-
},
8+
srcDir: ".",
9+
integrations: [
10+
starlight({
11+
title: "Docs with Tailwind",
12+
social: [
13+
{
14+
icon: "github",
15+
label: "GitHub",
16+
href: "https://github.com/withastro/starlight",
17+
},
18+
],
19+
sidebar: [
20+
{
21+
label: "Guides",
22+
items: [
23+
// Each item here is one entry in the navigation menu.
24+
{ label: "Example Guide", slug: "guides/example" },
25+
],
26+
},
27+
{
28+
label: "Reference",
29+
autogenerate: { directory: "reference" },
30+
},
31+
],
32+
customCss: ["./styles/global.css"],
33+
}),
34+
],
35+
vite: {
36+
plugins: [tailwindcss()],
37+
},
3138
});
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)