From f97484c7258fd0cfd82b9755b2f73a5c38626a0c Mon Sep 17 00:00:00 2001 From: 406803045 <406803045@qq.com> Date: Mon, 27 May 2019 18:02:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8C=85cdn?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + public/index.html | 11 ++- src/config/env.development.js | 5 +- src/config/env.production.js | 5 +- src/config/env.staging.js | 5 +- src/utils/package.js | 124 ++++++++++++++++++++++++++++++++++ src/utils/signature.js | 0 src/views/home/index.vue | 3 +- vue.config.js | 92 +++++++++++++++++-------- 9 files changed, 213 insertions(+), 33 deletions(-) create mode 100644 src/utils/package.js delete mode 100644 src/utils/signature.js diff --git a/package.json b/package.json index c13ef79..d9396a8 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,7 @@ }, "dependencies": { "axios": "0.18.0", + "crypto-js": "^3.1.9-1", "lib-flexible": "^0.3.2", "normalize.css": "7.0.0", "vant": "^1.6.19", diff --git a/public/index.html b/public/index.html index 9659973..8f3b79a 100644 --- a/public/index.html +++ b/public/index.html @@ -4,8 +4,12 @@ - + <% for (var i in + htmlWebpackPlugin.options.cdn&&htmlWebpackPlugin.options.cdn.css) { %> + + + <% } %>