Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a57459d

Browse files
added proxy
1 parent 6eff85c commit a57459d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@
33
"version": "1.0.0",
44
"description": "A Vue.js project",
55
"author": "",
6+
"proxy": "http://localhost:3003/",
67
"private": true,
78
"scripts": {
89
"client": "webpack-dev-server --inline --progress --config build/webpack.dev.conf.js",
910
"start": "npm run dev",
1011
"unit": "jest --config test/unit/jest.conf.js --coverage",
1112
"dev": "concurrently \"npm run server\" \"npm run client\"",
1213
"server": "npm start --prefix ./api",
13-
"prod": "npm run build && cpx \"dist/**/*.*\" \"api/dist\" && NODE_ENV=production PORT=3000 npm run server",
14+
"prod": "npm run build && cpx \"dist/**/*.*\" \"api/dist\" && NODE_ENV=production PORT=3003 npm run server",
1415

1516
"e2e": "node test/e2e/runner.js",
1617
"test": "npm run unit && npm run e2e",

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /