1 Star 1 Fork 0

maojiubb/blog

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
vite.config.ts 659 Bytes
一键复制 编辑 原始数据 按行查看 历史
itmaojiu 提交于 2023-03-27 08:33 . first
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import path from 'path'
import AutoImport from 'unplugin-auto-import/vite'
import Components from 'unplugin-vue-components/vite'
import { ElementPlusResolver } from 'unplugin-vue-components/resolvers'
// https://vitejs.dev/config/
export default defineConfig({
optimizeDeps: {
include: ['@kangc/v-md-editor/lib/theme/vuepress.js']
},
plugins: [
vue(),
AutoImport({
resolvers: [ElementPlusResolver()]
}),
Components({
resolvers: [ElementPlusResolver()]
})
],
resolve: {
alias: {
'@': path.resolve(__dirname + '/src')
}
}
})
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/maojiubb/blog.git
[email protected]:maojiubb/blog.git
maojiubb
blog
blog
main

搜索帮助