1 Star 0 Fork 1

liu/vite-vue2

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
vite.config.ts 339 Bytes
一键复制 编辑 原始数据 按行查看 历史
liu 提交于 2022-11-22 18:02 +08:00 . 项目初始化 添加 todos 基本结构
import { createVuePlugin } from 'vite-plugin-vue2'
import { defineConfig } from 'vite'
import path from 'path'
export default defineConfig({
plugins: [createVuePlugin()],
resolve: {
alias: {
'@': path.resolve(__dirname, 'src')
}
},
server: {
port: 8080,
host: '0.0.0.0',
open: true,
proxy: {}
}
})
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/liu0716/vite-vue2.git
git@gitee.com:liu0716/vite-vue2.git
liu0716
vite-vue2
vite-vue2
main

搜索帮助