浏览代码

feat: 打包路径(publich)

lvkun 3 年之前
父节点
当前提交
3786b85fa8
共有 1 个文件被更改,包括 1 次插入7 次删除
  1. 1 7
      vue.config.js

+ 1 - 7
vue.config.js

@@ -4,14 +4,8 @@ const proxy = require('./config/proxy.ts')
 const path = require('path')
 
 module.exports = defineConfig({
+  publicPath: '/',
   transpileDependencies: true,
-  // css: {
-  //   loaderOptions: {
-  //     less: {
-  //       javascriptEnabled: true
-  //     }
-  //   }
-  // },
   devServer: {
     proxy: proxy.dev
   },