fix: 添加缺失的naiveui(不知道啥东西给删的

This commit is contained in:
2025-05-03 20:55:39 +08:00
parent 6d436d4ca0
commit 33d0c0c85f
3 changed files with 1 additions and 2 deletions

BIN
bun.lockb

Binary file not shown.

View File

@@ -52,6 +52,7 @@
"md5": "^2.3.0", "md5": "^2.3.0",
"mitt": "^3.0.1", "mitt": "^3.0.1",
"monaco-editor": "^0.52.2", "monaco-editor": "^0.52.2",
"naive-ui": "^2.41.0",
"nanoid": "^5.1.5", "nanoid": "^5.1.5",
"peerjs": "^1.5.4", "peerjs": "^1.5.4",
"pinia": "^3.0.2", "pinia": "^3.0.2",

View File

@@ -39,10 +39,8 @@ export default defineConfig({
Components({ Components({
resolvers: [NaiveUiResolver()], resolvers: [NaiveUiResolver()],
dts: 'src/components.d.ts', dts: 'src/components.d.ts',
// allow auto load markdown components under `./src/components/`
extensions: ['vue', 'md'], extensions: ['vue', 'md'],
// allow auto import and register components used in markdown
include: [/\.vue$/, /\.vue\?vue/, /\.md$/, /\.vine$/], include: [/\.vue$/, /\.vue\?vue/, /\.md$/, /\.vine$/],
}), }),
oxlintPlugin(), oxlintPlugin(),