gulp4-webpack
gulp4-webpack copied to clipboard
A modern ES6 Gulp workflow combined with Webpack. Demo for the CSS Tricks article.
Gulp 4 with Webpack
This is the demo repo for the CSS Tricks article.
How to use
Download the repo and run:
npm install
npm run dev
Test HMR
To test Hot Module Reloading switch to the hmr branch and run npm install again.
Demo is set up with Vue. To see it in action run npm run dev, open the given localhost address and change the message in site/js/App.vue.
The new message will be hot reloaded - no whole window refresh.
export default {
data() {
return {
msg: 'Hello World!' // <- change the string
}
}
}