Skip to content

Webpack config file to enable Webpack's Hot Module Replacement inside PHP files - yeah! Makes Vue and Webpack development great again :D

Notifications You must be signed in to change notification settings

FullStackAlex/wordpress-php-vue-webpack-hot-module-replacement-hmr-starter-setup

Repository files navigation

wordpress-php-webpack-hot-module-replacement-hmr

Webpack config file to enable Webpack's Hot Module Replacement inside PHP files!!!

I have created the these empty files and directories only for a better visualisation of the webpack config settings values:

  • src/main.js
  • wordpress/wp-content/themes/your-fancy-theme/app/app.bundle.js

There is no need for editing any Apache/Nginx config files, except you want to have custom dev.hostname for your local dev environment instead of for example "localhost:8015"

By the end of May 2019 there should be a Vue WordPress Starter Theme available on my GitHub account. It will have working SEO system without SSR!!! So you can then just drop in the theme into any existing WordPress site and get it working out of the box regardless your hosting conditions (whether node.js is available or not)!

About

Webpack config file to enable Webpack's Hot Module Replacement inside PHP files - yeah! Makes Vue and Webpack development great again :D

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages