Browse Source

-fix:配置

guotianliang 4 years ago
parent
commit
142c369389
1 changed files with 1 additions and 1 deletions
  1. 1 1
      vue.config.js

+ 1 - 1
vue.config.js

@@ -1,7 +1,7 @@
 const fs = require('fs');
 // const copywebpackplugin = require('copy-webpack-plugin');
 // const { name } = require("./package.json");
-const name = dist;
+const name = 'dist';
 publicPath = process.env.NODE_ENV === "development" ? "/" : `/${name}`;
 module.exports = {
   publicPath: publicPath, //相对路径