How to configure dev-server webpack-simple pattern and listen to the localhost address?

Started learning vue, I want to tie it to an existing php project
faced with the problem, the dev server launches webpage your server localhost:8080
I put vuejs (Simpl webpack)
start the development server npm run dev
all farm I have to spin on localhost:8080
and I need to work on mysite.loc/some/path
using axios for queries, and there is naturally another server
Access-Control-Allow-Origin get request with crossdomain

if you build the project(configure paths previously), the application works
but after each edit you need to bildit that not comme Il faut

the question is HOW to configure webpak server to work in conjunction with Apache
June 10th 19 at 14:55
0 answer

Find more questions by tags WebpackVue.js