I'm integrating Vue.js into an multi-page PHP application ( Not an SPA ) I'm using the vue-cli webpack template. Only modification i've made to the default template is adding multiple entry points (for generating multiple scripts for multiple pages)
For my development environment, I use docker-compose and serve the pages VIA my lamp stack and run the Webpack-dev-server on a separate instance and link the JS files generated by webpack-dev-server.
My issue is getting the CSS url's from the webpack-dev-server instance. I'm able to link in the JS files a-ok, and the 'build' outputs both the JS & CSS files perfectly. I've tried adding the ExtractTextPlugin with the filename param in my dev config, but still not able to source the CSS file from the webpack-dev instance.
Any advice would be much appreciated as I'm just getting into webpack
Thanks
-J
the 'build' outputs both the JS & CSS files perfectly
you mean the problem is not linking the css generated to your html? – Dencio