Pan 7 年之前
父节点
当前提交
7cc541a15a
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 1 1
      config/index.js
  2. 3 3
      package.json

+ 1 - 1
config/index.js

@@ -7,7 +7,7 @@ module.exports = {
7 7
     index: path.resolve(__dirname, '../dist/index.html'),
8 8
     assetsRoot: path.resolve(__dirname, '../dist'),
9 9
     assetsSubDirectory: 'static',
10
-    assetsPublicPath: '/',
10
+    assetsPublicPath: './',
11 11
     productionSourceMap: true,
12 12
     // Gzip off by default as many popular static hosts such as
13 13
     // Surge or Netlify already gzip all static assets for you.

+ 3 - 3
package.json

@@ -1,9 +1,9 @@
1 1
 {
2
-  "name": "vue-admin",
2
+  "name": "vue-admin-template",
3 3
   "version": "1.0.0",
4
-  "description": "A Vue.js project",
4
+  "license": "MIT",
5
+  "description": "A vue admin template with Element UI & axios & iconfont & permission control & lint",
5 6
   "author": "Pan <panfree23@gmail.com>",
6
-  "private": true,
7 7
   "scripts": {
8 8
     "dev": "node build/dev-server.js",
9 9
     "start": "node build/dev-server.js",