소스 검색

mdx integrate

Daniel 1 년 전
부모
커밋
78c4f2df6c
3개의 변경된 파일785개의 추가작업 그리고 0개의 파일을 삭제
  1. 782 0
      package-lock.json
  2. 1 0
      package.json
  3. 2 0
      src/config/astro.config.mjs

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 782 - 0
package-lock.json


+ 1 - 0
package.json

@@ -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",

+ 2 - 0
src/config/astro.config.mjs

@@ -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'

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.