优化:初步优化全局代码样式
This commit is contained in:
@@ -1,19 +1,19 @@
|
||||
import { defineConfig } from 'vite'
|
||||
//import { SearchPlugin } from 'vitepress-plugin-search'
|
||||
import Components from 'unplugin-vue-components/vite'
|
||||
import { ArcoResolver } from 'unplugin-vue-components/resolvers'
|
||||
import { defineConfig } from 'vite';
|
||||
import Components from 'unplugin-vue-components/vite';
|
||||
import { ArcoResolver } from 'unplugin-vue-components/resolvers';
|
||||
// import { SearchPlugin } from 'vitepress-plugin-search';
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
//SearchPlugin({
|
||||
//encode: false,
|
||||
//tokenize: 'full'
|
||||
//}),
|
||||
// SearchPlugin({
|
||||
// encode: false,
|
||||
// tokenize: 'full',
|
||||
// }),
|
||||
Components({
|
||||
dirs: ['.vitepress/theme/components'],
|
||||
include: [/\.vue$/, /\.vue\?vue/, /\.md$/],
|
||||
resolvers: [ArcoResolver({ sideEffect: true, resolveIcons: true })]
|
||||
})
|
||||
}),
|
||||
],
|
||||
ssr: { noExternal: ['@arco-design/web-vue'] },
|
||||
resolve: {
|
||||
|
Reference in New Issue
Block a user