mirror of
https://github.com/andatoshiki/toshiki-notebook.git
synced 2026-06-06 03:41:23 +00:00
15 lines
393 B
TypeScript
15 lines
393 B
TypeScript
import { defineConfig } from 'vite'
|
|
import Components from 'unplugin-vue-components/vite'
|
|
|
|
export default defineConfig({
|
|
plugins: [
|
|
Components({
|
|
dirs: ['.vitepress/theme/components'],
|
|
include: [/\.vue$/, /\.vue\?vue/, /\.md$/],
|
|
}),
|
|
],
|
|
ssr: {
|
|
noExternal: ['@andatoshiki/vitepress-plugin-nprogress', '@arco-design/web-vue'],
|
|
},
|
|
})
|