Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-3
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
office
haoban-3
Commits
3c1125c9
Commit
3c1125c9
authored
Oct 12, 2021
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 调整ico
parent
162e7f93
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
.eslintrc.js
.eslintrc.js
+3
-3
webpack.dev.conf.js
build/webpack.dev.conf.js
+1
-1
index.html
index.html
+1
-1
favicon.ico
static/img/favicon.ico
+0
-0
No files found.
.eslintrc.js
View file @
3c1125c9
...
...
@@ -31,9 +31,9 @@ module.exports = {
],
// allow async-await
"generator-star-spacing"
:
"off"
,
"no-console"
:
process
.
env
.
NODE_ENV
===
"production"
?
2
:
0
,
"no-alert"
:
process
.
env
.
NODE_ENV
===
"production"
?
2
:
0
,
//禁止使用alert confirm prompt
"no-debugger"
:
process
.
env
.
NODE_ENV
===
"production"
?
2
:
0
,
//
"no-console": process.env.NODE_ENV === "production" ? 2 : 0,
//
"no-alert": process.env.NODE_ENV === "production" ? 2 : 0, //禁止使用alert confirm prompt
//
"no-debugger": process.env.NODE_ENV === "production" ? 2 : 0,
// --------------------静态检测-----------------------------
/**
* 静态检测:
...
...
build/webpack.dev.conf.js
View file @
3c1125c9
...
...
@@ -56,7 +56,7 @@ const devWebpackConfig = merge(baseWebpackConfig, {
filename
:
'index.html'
,
template
:
'index.html'
,
inject
:
true
,
favicon
:
'./favicon.ico'
favicon
:
'./
static/img/
favicon.ico'
}),
// copy custom static assets
new
CopyWebpackPlugin
([
...
...
index.html
View file @
3c1125c9
...
...
@@ -11,7 +11,7 @@
<head>
<meta
charset=
"utf-8"
>
<link
rel=
"shortcut icon"
href=
"./favicon.ico"
/>
<link
rel=
"shortcut icon"
href=
"./
static/img/
favicon.ico"
/>
<title>
好办管理平台
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.69.css"
/>
...
...
favicon.ico
→
static/img/
favicon.ico
View file @
3c1125c9
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment