From 4338dabe48e500536fce15b37507ad73dc40c628 Mon Sep 17 00:00:00 2001 From: FairyEver <1711467488@qq.com> Date: Thu, 12 Dec 2019 21:47:39 +0800 Subject: [PATCH] cdn --- public/index.html | 13 ++++++ vue.config.js | 103 +++++++++++++++++++++++++++++++++++++++++----- 2 files changed, 105 insertions(+), 11 deletions(-) diff --git a/public/index.html b/public/index.html index 9b88472d..1e32ffd8 100644 --- a/public/index.html +++ b/public/index.html @@ -5,6 +5,15 @@ + + <% for (var i in htmlWebpackPlugin.options.cdn&&htmlWebpackPlugin.options.cdn.css) { %> + + + <% } %> + + <% for (var i in htmlWebpackPlugin.options.cdn&&htmlWebpackPlugin.options.cdn.js) { %> + + <% } %>