Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZiBoYingJI
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Kimber
ZiBoYingJI
Commits
cffce88f
Commit
cffce88f
authored
Aug 08, 2024
by
Kimber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'up'
parent
5d5c7818
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
508 additions
and
550 deletions
+508
-550
index.html
public/datav/index.html
+104
-92
natural.html
public/datav/natural.html
+207
-235
watersource.html
public/datav/watersource.html
+194
-221
vue.config.js
vue.config.js
+3
-2
No files found.
public/datav/index.html
View file @
cffce88f
This diff is collapsed.
Click to expand it.
public/datav/natural.html
View file @
cffce88f
This diff is collapsed.
Click to expand it.
public/datav/watersource.html
View file @
cffce88f
This diff is collapsed.
Click to expand it.
vue.config.js
View file @
cffce88f
...
@@ -64,12 +64,13 @@ module.exports = {
...
@@ -64,12 +64,13 @@ module.exports = {
},
},
plugins
:
[
plugins
:
[
// https://www.ydyno.com/archives/1260.html 使用gzip解压缩静态文件
// https://www.ydyno.com/archives/1260.html 使用gzip解压缩静态文件
new
CompressionPlugin
({
/* new CompressionPlugin({
test: /\.(js|css|html)?$/i, // 压缩文件格式
test: /\.(js|css|html)?$/i, // 压缩文件格式
filename: '[path].gz[query]', // 压缩后的文件名
filename: '[path].gz[query]', // 压缩后的文件名
algorithm: 'gzip', // 使用gzip压缩
algorithm: 'gzip', // 使用gzip压缩
minRatio: 0.8 // 压缩率小于1才会压缩
minRatio: 0.8 // 压缩率小于1才会压缩
})
})
*/
]
]
},
},
chainWebpack
(
config
)
{
chainWebpack
(
config
)
{
...
...
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