Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
op-web-service
Project
Project
Details
Activity
Releases
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
bp
op-web-service
Commits
60f06237
Commit
60f06237
authored
Jun 09, 2021
by
lvweichao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: vue config
parent
9b145799
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
package.json
package.json
+2
-2
vue.config.js
vue.config.js
+1
-1
No files found.
package.json
View file @
60f06237
...
...
@@ -8,8 +8,8 @@
"test"
:
"sh ./bin/start.sh testing"
,
"prod"
:
"sh ./bin/start.sh production"
,
"koa"
:
"nodemon app.js"
,
"web-dev"
:
"
cross-env
NODE_ENV=development vue-cli-service serve"
,
"web-build"
:
"
cross-env
NODE_ENV=production vue-cli-service build"
,
"web-dev"
:
"NODE_ENV=development vue-cli-service serve"
,
"web-build"
:
"NODE_ENV=production vue-cli-service build"
,
"test:unit"
:
"vue-cli-service test:unit"
,
"lint"
:
"vue-cli-service lint"
},
...
...
vue.config.js
View file @
60f06237
...
...
@@ -5,7 +5,7 @@ const isDev = process.env.NODE_ENV === 'development';
module
.
exports
=
{
outputDir
:
isDev
?
'./dist'
:
path
.
resolve
(
'.
./../../www
/dist/'
),
:
path
.
resolve
(
'./dist/'
),
publicPath
:
isDev
?
'/'
:
'/dist'
,
configureWebpack
:
{
devServer
:
{
...
...
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