소스 검색

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
   },