mdx integrate

pull/5123/head
Daniel 2 years ago
parent bd9983bcc8
commit 78c4f2df6c

1243
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -57,6 +57,7 @@
"url": "https://github.com/ColorlibHQ/AdminLTE/issues" "url": "https://github.com/ColorlibHQ/AdminLTE/issues"
}, },
"devDependencies": { "devDependencies": {
"@astrojs/mdx": "^0.19.1",
"@rollup/plugin-typescript": "^11.1.0", "@rollup/plugin-typescript": "^11.1.0",
"@typescript-eslint/eslint-plugin": "^5.59.5", "@typescript-eslint/eslint-plugin": "^5.59.5",
"@typescript-eslint/parser": "^5.59.5", "@typescript-eslint/parser": "^5.59.5",

@ -1,4 +1,5 @@
import { defineConfig } from 'astro/config' import { defineConfig } from 'astro/config'
import mdx from '@astrojs/mdx'
// https://astro.build/config // https://astro.build/config
export default defineConfig({ export default defineConfig({
@ -11,6 +12,7 @@ export default defineConfig({
theme: 'dark-plus' theme: 'dark-plus'
} }
}, },
integrations: [mdx()],
// base: './dist', // base: './dist',
srcDir: './src/html', srcDir: './src/html',
outDir: './dist/pages' outDir: './dist/pages'

Loading…
Cancel
Save