mdx integrate

pull/5123/head
Daniel 2023-05-15 21:30:15 +05:30
parent bd9983bcc8
commit 78c4f2df6c
3 changed files with 1246 additions and 0 deletions

1243
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

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

View File

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