Vue-devtools: Documentation on how to run on port != :8080

Created on 12 Feb 2018  路  2Comments  路  Source: vuejs/vue-devtools

What problem does this feature solve?

8080 is used by a lot of services. I need a way to run the dev-tools build on a port other than 8080.

What does the proposed API look like?

Unsure

question

Most helpful comment

Hey @FEA5T. Devtools use webpack-dev-server, so it's as simple as passing another parameter:

npm run dev -- --port 4000

More info here: https://webpack.js.org/configuration/dev-server/#devserver-port

If you think this information might be useful for others too, don't hesitate to create a PR with updated documentation :)

All 2 comments

Hey @FEA5T. Devtools use webpack-dev-server, so it's as simple as passing another parameter:

npm run dev -- --port 4000

More info here: https://webpack.js.org/configuration/dev-server/#devserver-port

If you think this information might be useful for others too, don't hesitate to create a PR with updated documentation :)

@michalsnik Thanks, I noticed that it was running webpack-dev-server however when I did some Ctrl-F'ing I noticed :8080 hardcoded into a lot of tests and other places so I assumed that there had to be something more to it.

Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

psycura picture psycura  路  4Comments

yyx990803 picture yyx990803  路  3Comments

mitramejia picture mitramejia  路  3Comments

bajzarpa picture bajzarpa  路  3Comments

mikaelhadler picture mikaelhadler  路  3Comments