Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-home
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit bb7806e2
authored
Aug 10, 2023
by
杨明
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
4f7205ba
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
3 deletions
package-lock.json
package.json
public/index.html
vue.config.js
package-lock.json
View file @
bb7806e
This diff could not be displayed because it is too large.
package.json
View file @
bb7806e
...
@@ -34,8 +34,11 @@
...
@@ -34,8 +34,11 @@
"eslint"
:
"^5.16.0"
,
"eslint"
:
"^5.16.0"
,
"eslint-plugin-prettier"
:
"^3.1.1"
,
"eslint-plugin-prettier"
:
"^3.1.1"
,
"eslint-plugin-vue"
:
"^5.0.0"
,
"eslint-plugin-vue"
:
"^5.0.0"
,
"file-loader"
:
"^6.2.0"
,
"mini-css-extract-plugin"
:
"^2.7.6"
,
"node-sass"
:
"^4.14.1"
,
"node-sass"
:
"^4.14.1"
,
"postcss-loader"
:
"^6.2.0"
,
"postcss-loader"
:
"^6.2.0"
,
"preload-webpack-plugin"
:
"^2.3.0"
,
"prettier"
:
"^1.19.1"
,
"prettier"
:
"^1.19.1"
,
"sass-loader"
:
"^8.0.0"
,
"sass-loader"
:
"^8.0.0"
,
"vue-cli-plugin-element"
:
"^1.0.1"
,
"vue-cli-plugin-element"
:
"^1.0.1"
,
...
...
public/index.html
View file @
bb7806e
<!--
* @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>
<!DOCTYPE html>
<html
lang=
"en"
>
<html
lang=
"en"
>
<head>
<head>
...
@@ -5,7 +13,6 @@
...
@@ -5,7 +13,6 @@
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
/>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
/>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1.0"
/>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1.0"
/>
<meta
name=
"referrer"
content=
"no-referrer"
/>
<meta
name=
"referrer"
content=
"no-referrer"
/>
<link
rel=
"icon"
href=
"<%= BASE_URL %>favicon.ico"
/>
<!-- 使用CDN的CSS文件 -->
<!-- 使用CDN的CSS文件 -->
<
% for (var i in htmlWebpackPlugin.options.cdn
&&
htmlWebpackPlugin.options.cdn.css) { %>
<
% for (var i in htmlWebpackPlugin.options.cdn
&&
htmlWebpackPlugin.options.cdn.css) { %>
<link
href=
"<%= htmlWebpackPlugin.options.cdn.css[i] %>"
rel=
"preload"
as=
"style"
/>
<link
href=
"<%= htmlWebpackPlugin.options.cdn.css[i] %>"
rel=
"preload"
as=
"style"
/>
...
...
vue.config.js
View file @
bb7806e
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: yangming yangming@didihu.com.cn
* @Author: yangming yangming@didihu.com.cn
* @Date: 2023-08-04 11:28:27
* @Date: 2023-08-04 11:28:27
* @LastEditors: yangming yangming@didihu.com.cn
* @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
* @FilePath: \scrm-micro-home\vue.config.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
*/
...
@@ -55,7 +55,7 @@ module.exports = {
...
@@ -55,7 +55,7 @@ module.exports = {
},
},
chainWebpack
:
config
=>
{
chainWebpack
:
config
=>
{
config
.
plugin
(
'html'
).
tap
(
args
=>
{
config
.
plugin
(
'html'
).
tap
(
args
=>
{
// args[0].minify.removeComments = false;
args
[
0
].
scriptLoading
=
'defer'
args
[
0
].
cdn
=
cdn
args
[
0
].
cdn
=
cdn
return
args
return
args
})
})
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment