Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
expense
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
contractServiceExpense-Develop
expense
Commits
f1422c21
Commit
f1422c21
authored
Jul 31, 2020
by
lihu541
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
配置修改
parent
05765ea2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
1 deletions
+31
-1
vue.config.js
+31
-1
No files found.
vue.config.js
View file @
f1422c21
const
MiniCssExtractPlugin
=
require
(
"mini-css-extract-plugin"
);
module
.
exports
=
{
configureWebpack
:
{
outputDir
:
"./dist"
,
lintOnSave
:
false
,
assetsDir
:
''
,
publicPath
:
'./'
,
configureWebpack
:{
resolve
:
{
alias
:
{
'components'
:
'@/components'
,
...
...
@@ -7,6 +12,31 @@ module.exports = {
'views'
:
'@/views'
,
'api'
:
'@/api'
,
}
},
output
:{
filename
:
'./js/[name].js'
,
chunkFilename
:
'./js/[name].js'
},
plugins
:[
new
MiniCssExtractPlugin
({
filename
:
'./css/[name].css'
,
chunkFilename
:
'./css/[name].css'
})
]
},
devServer
:
{
port
:
18040
,
open
:
true
,
proxy
:
{
'/api'
:
{
// target: 'http://47.98.41.86:9800',
target
:
'http://10.130.73.125:18040'
,
changeOrigin
:
true
,
pathRewrite
:
{
'^/api'
:
''
}
}
}
}
}
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