mirror of
https://github.com/ChangJoo-Park/learn-flutter.git
synced 2025-06-08 05:33:14 +00:00
update config.mjs
This commit is contained in:
parent
0702fad5a6
commit
708603cc5a
3 changed files with 6 additions and 3 deletions
|
@ -5,6 +5,7 @@ const cache = await getCache();
|
||||||
|
|
||||||
// @ts-check
|
// @ts-check
|
||||||
import { defineConfig } from "astro/config";
|
import { defineConfig } from "astro/config";
|
||||||
|
import sitemap from "@astrojs/sitemap";
|
||||||
import starlight from "@astrojs/starlight";
|
import starlight from "@astrojs/starlight";
|
||||||
import astroExpressiveCode from "astro-expressive-code";
|
import astroExpressiveCode from "astro-expressive-code";
|
||||||
import { pluginLineNumbers } from "@expressive-code/plugin-line-numbers";
|
import { pluginLineNumbers } from "@expressive-code/plugin-line-numbers";
|
||||||
|
@ -14,12 +15,13 @@ export default defineConfig({
|
||||||
compressHTML: true,
|
compressHTML: true,
|
||||||
prefetch: false,
|
prefetch: false,
|
||||||
integrations: [
|
integrations: [
|
||||||
|
sitemap(),
|
||||||
astroExpressiveCode({
|
astroExpressiveCode({
|
||||||
themes: ["dracula"],
|
themes: ["dracula"],
|
||||||
plugins: [pluginLineNumbers()],
|
plugins: [pluginLineNumbers()],
|
||||||
}),
|
}),
|
||||||
starlight({
|
starlight({
|
||||||
title: "Flutter 문서",
|
title: "Flutter 배우기",
|
||||||
social: [
|
social: [
|
||||||
{
|
{
|
||||||
icon: "github",
|
icon: "github",
|
||||||
|
@ -44,5 +46,5 @@ export default defineConfig({
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
site: "https://changjoo-park.github.io/learn-flutter"
|
||||||
});
|
});
|
||||||
|
|
1
package-lock.json
generated
1
package-lock.json
generated
|
@ -9,6 +9,7 @@
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@astrojs/sitemap": "^3.4.0",
|
||||||
"@astrojs/starlight": "^0.34.3",
|
"@astrojs/starlight": "^0.34.3",
|
||||||
"@beoe/cache": "^0.1.1",
|
"@beoe/cache": "^0.1.1",
|
||||||
"@beoe/rehype-mermaid": "^0.4.2",
|
"@beoe/rehype-mermaid": "^0.4.2",
|
||||||
|
|
|
@ -8,10 +8,10 @@
|
||||||
"build": "astro build",
|
"build": "astro build",
|
||||||
"preview": "astro preview",
|
"preview": "astro preview",
|
||||||
"upgrade": "npx @astrojs/upgrade",
|
"upgrade": "npx @astrojs/upgrade",
|
||||||
"postinstall": "playwright install chromium",
|
|
||||||
"astro": "astro"
|
"astro": "astro"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@astrojs/sitemap": "^3.4.0",
|
||||||
"@astrojs/starlight": "^0.34.3",
|
"@astrojs/starlight": "^0.34.3",
|
||||||
"@beoe/cache": "^0.1.1",
|
"@beoe/cache": "^0.1.1",
|
||||||
"@beoe/rehype-mermaid": "^0.4.2",
|
"@beoe/rehype-mermaid": "^0.4.2",
|
||||||
|
|
Loading…
Add table
Reference in a new issue