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
76ac2aec
Commit
76ac2aec
authored
Oct 12, 2021
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 调整ico引入
parent
3c1125c9
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
3 deletions
+3
-3
webpack.dev.conf.js
build/webpack.dev.conf.js
+1
-2
webpack.prod.conf.js
build/webpack.prod.conf.js
+1
-0
favicon.ico
favicon.ico
+0
-0
index.html
index.html
+1
-1
No files found.
build/webpack.dev.conf.js
View file @
76ac2aec
...
...
@@ -55,8 +55,7 @@ const devWebpackConfig = merge(baseWebpackConfig, {
new
HtmlWebpackPlugin
({
filename
:
'index.html'
,
template
:
'index.html'
,
inject
:
true
,
favicon
:
'./static/img/favicon.ico'
inject
:
true
}),
// copy custom static assets
new
CopyWebpackPlugin
([
...
...
build/webpack.prod.conf.js
View file @
76ac2aec
...
...
@@ -63,6 +63,7 @@ const webpackConfig = merge(baseWebpackConfig, {
new
HtmlWebpackPlugin
({
filename
:
config
.
build
.
index
,
template
:
'index.html'
,
favicon
:
'./favicon.ico'
,
inject
:
true
,
minify
:
{
removeComments
:
true
,
...
...
static/img/
favicon.ico
→
favicon.ico
View file @
76ac2aec
File moved
index.html
View file @
76ac2aec
...
...
@@ -11,7 +11,7 @@
<head>
<meta
charset=
"utf-8"
>
<link
rel=
"shortcut icon"
href=
"./
static/img/
favicon.ico"
/>
<link
rel=
"shortcut icon"
href=
"./favicon.ico"
/>
<title>
好办管理平台
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.69.css"
/>
...
...
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