Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
ce1d1eda
authored
2023-05-19 13:45:42 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:配置修改
1 parent
0bd4bc30
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
src/views/ywbl/ywsq/selectBdc.vue
vue.config.js
src/views/ywbl/ywsq/selectBdc.vue
View file @
ce1d1ed
<!--
* @Description: 选择不动产单元号
* @Autor: renchao
* @LastEditTime: 2023-05-18 10:59:48
* @LastEditTime: 2023-05-18 10:59:48
[文件:bdcdj-index.html]
-->
<
template
>
<component
:is=
"router"
:sqywInfo=
"formData.sqywInfo"
:isJump=
"formData.isJump ? formData.isJump : false"
...
...
vue.config.js
View file @
ce1d1ed
...
...
@@ -61,6 +61,10 @@ module.exports = {
// configureWebpack通过操作对象的形式,来修改默认的webpack配置
configureWebpack
:
{
name
:
name
,
optimization
:
{
usedExports
:
true
,
minimize
:
true
},
entry
:
{
app
:
'./src/main.js'
},
...
...
@@ -74,7 +78,6 @@ module.exports = {
// chainWebpack通过链式编程的形式,来修改默认的webpack配置
chainWebpack
(
config
)
{
// it can improve the speed of the first screen, it is recommended to turn on preload
// it can improve the speed of the first screen, it is recommended to turn on preload
config
.
plugin
(
'preload'
).
tap
(()
=>
[
{
rel
:
'preload'
,
...
...
@@ -84,7 +87,7 @@ module.exports = {
include
:
'initial'
}
])
config
.
plugins
.
delete
(
'prefetch'
)
// when there are many pages, it will cause too many meaningscss requests
config
.
module
.
rule
(
'svg'
)
...
...
Please
register
or
sign in
to post a comment