Hi!I wanted to give this new symfony feature : webpack encore using VueJS for the frontend.The thing is, wether I type ./node_modules/.bin/encore production or ./node_modules/.bin/encore dev --watch followed by php bin/console server:run and, tadaa my site is up, serving the pages.But, I wanted to have Hot Module Replacement and here is what happens :./node_modules/.bin/encore dev-server --hot Running webpack-dev-server ... Project is running at http://localhost:8080/ webpack output is served from /build/ Content not from webpack is served from /Users/pacovelobs/www/foo/web 404s will fallback to /index.html DONE Compiled successfully in 4633ms But when I browse to http://localhost:8080/ I only have a page telling me : Cannot GET / What can the the issue here?MISC : webpack.config.js
Submitted July 09, 2017 at 07:32AM by PacoVelobs
No comments:
Post a Comment