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
|
||||
import { defineConfig } from "astro/config";
|
||||
import sitemap from "@astrojs/sitemap";
|
||||
import starlight from "@astrojs/starlight";
|
||||
import astroExpressiveCode from "astro-expressive-code";
|
||||
import { pluginLineNumbers } from "@expressive-code/plugin-line-numbers";
|
||||
|
@ -14,12 +15,13 @@ export default defineConfig({
|
|||
compressHTML: true,
|
||||
prefetch: false,
|
||||
integrations: [
|
||||
sitemap(),
|
||||
astroExpressiveCode({
|
||||
themes: ["dracula"],
|
||||
plugins: [pluginLineNumbers()],
|
||||
}),
|
||||
starlight({
|
||||
title: "Flutter 문서",
|
||||
title: "Flutter 배우기",
|
||||
social: [
|
||||
{
|
||||
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",
|
||||
"hasInstallScript": true,
|
||||
"dependencies": {
|
||||
"@astrojs/sitemap": "^3.4.0",
|
||||
"@astrojs/starlight": "^0.34.3",
|
||||
"@beoe/cache": "^0.1.1",
|
||||
"@beoe/rehype-mermaid": "^0.4.2",
|
||||
|
|
|
@ -8,10 +8,10 @@
|
|||
"build": "astro build",
|
||||
"preview": "astro preview",
|
||||
"upgrade": "npx @astrojs/upgrade",
|
||||
"postinstall": "playwright install chromium",
|
||||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/sitemap": "^3.4.0",
|
||||
"@astrojs/starlight": "^0.34.3",
|
||||
"@beoe/cache": "^0.1.1",
|
||||
"@beoe/rehype-mermaid": "^0.4.2",
|
||||
|
|
Loading…
Add table
Reference in a new issue