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
5d68baf2
authored
2023-05-19 14:36:17 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
style:打包
2 parents
296c9903
ce1d1eda
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
src/views/ywbl/ywsq/selectBdc.vue
vue.config.js
src/views/ywbl/ywsq/selectBdc.vue
View file @
5d68baf
<!--
* @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 @
5d68baf
...
...
@@ -6,7 +6,6 @@ function resolve (dir) {
return
path
.
join
(
__dirname
,
dir
)
}
const
name
=
defaultSettings
.
title
const
port
=
process
.
env
.
port
||
process
.
env
.
npm_config_port
||
8888
// dev port
// All configuration item explanations can be find in https://cli.vuejs.org/config/
...
...
@@ -60,8 +59,13 @@ module.exports = {
},
// configureWebpack通过操作对象的形式,来修改默认的webpack配置
configureWebpack
:
{
name
:
name
,
entry
:
'./src/main.js'
,
optimization
:
{
usedExports
:
true
,
minimize
:
true
},
entry
:
{
app
:
'./src/main.js'
},
resolve
:
{
alias
:
{
'@'
:
resolve
(
'src'
)
...
...
@@ -72,7 +76,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'
,
...
...
Please
register
or
sign in
to post a comment