A modern ES6 Gulp workflow combined with Webpack. Demo for the CSS Tricks article.
Switch branches/tags
Nothing to show
Clone or download
Latest commit c502ca0 May 15, 2017
Permalink
Failed to load latest commit information.
site tidy up empty line Apr 27, 2017
tasks initial commit Apr 27, 2017
.gitignore initial commit Apr 27, 2017
README.md add link to article May 15, 2017
package.json remove vue dependencies Apr 27, 2017

README.md

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
        }
    }
}