Commit bb7806e2 by 杨明

fixed

1 parent 4f7205ba
This diff could not be displayed because it is too large.
......@@ -34,8 +34,11 @@
"eslint": "^5.16.0",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-vue": "^5.0.0",
"file-loader": "^6.2.0",
"mini-css-extract-plugin": "^2.7.6",
"node-sass": "^4.14.1",
"postcss-loader": "^6.2.0",
"preload-webpack-plugin": "^2.3.0",
"prettier": "^1.19.1",
"sass-loader": "^8.0.0",
"vue-cli-plugin-element": "^1.0.1",
......
<!--
* @Author: yangming yangming@didihu.com.cn
* @Date: 2023-08-04 11:28:26
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-08-10 10:16:36
* @FilePath: \scrm-micro-home\public\index.html
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<!DOCTYPE html>
<html lang="en">
<head>
......@@ -5,7 +13,6 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
<meta name="referrer" content="no-referrer" />
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
<!-- 使用CDN的CSS文件 -->
<% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.css) { %>
<link href="<%= htmlWebpackPlugin.options.cdn.css[i] %>" rel="preload" as="style" />
......
......@@ -2,7 +2,7 @@
* @Author: yangming yangming@didihu.com.cn
* @Date: 2023-08-04 11:28:27
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-08-04 13:53:27
* @LastEditTime: 2023-08-10 10:32:31
* @FilePath: \scrm-micro-home\vue.config.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
......@@ -55,7 +55,7 @@ module.exports = {
},
chainWebpack: config => {
config.plugin('html').tap(args => {
// args[0].minify.removeComments = false;
args[0].scriptLoading = 'defer'
args[0].cdn = cdn
return args
})
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!