Browse Source

配置打包文件夹

gr 1 year ago
parent
commit
4b34b8e6a5
2 changed files with 3 additions and 1 deletions
  1. 1 0
      .gitignore
  2. 2 1
      vue.config.js

+ 1 - 0
.gitignore

@@ -1,6 +1,7 @@
 .DS_Store
 node_modules
 /dist
+/cmnw_new
 
 
 # local env files

+ 2 - 1
vue.config.js

@@ -1,5 +1,6 @@
 const { defineConfig } = require('@vue/cli-service')
 module.exports = defineConfig({
   transpileDependencies: true,
-  publicPath: './'
+  publicPath: './',
+  outputDir: 'cmnw_new'
 })