From 7cc541a15aa40ccbd4ff5d318d85ce642c5fdda1 Mon Sep 17 00:00:00 2001 From: Pan Date: Fri, 30 Jun 2017 14:29:49 +0800 Subject: [PATCH] refine --- config/index.js | 2 +- package.json | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/index.js b/config/index.js index b945486..9e7a485 100644 --- a/config/index.js +++ b/config/index.js @@ -7,7 +7,7 @@ module.exports = { index: path.resolve(__dirname, '../dist/index.html'), assetsRoot: path.resolve(__dirname, '../dist'), assetsSubDirectory: 'static', - assetsPublicPath: '/', + assetsPublicPath: './', productionSourceMap: true, // Gzip off by default as many popular static hosts such as // Surge or Netlify already gzip all static assets for you. diff --git a/package.json b/package.json index 2bdff76..5c18afb 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,9 @@ { - "name": "vue-admin", + "name": "vue-admin-template", "version": "1.0.0", - "description": "A Vue.js project", + "license": "MIT", + "description": "A vue admin template with Element UI & axios & iconfont & permission control & lint", "author": "Pan ", - "private": true, "scripts": { "dev": "node build/dev-server.js", "start": "node build/dev-server.js",