Browse Source

feat: 打包路径(publich)

lvkun 3 years ago
parent
commit
3786b85fa8
1 changed files with 1 additions and 7 deletions
  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
   },