hot module replacement
TRANSCRIPT
HOW DID WE GET HERE?• Let’s use VueJS
• We have complex app, let’s bring in Vuex - state management
• Why do we have Bower? Let’s kick it out and use only NPM
• We should use modules and not global objects. Let’s refactor to modules
• Let’s replace Gulp with Webpack and NPM scripts only
• Finally we can have proper HMR :)
LET’S SEE IT IN PRACTICEhttps://github.com/anzeznidarsic/es6-modules-webpack-hmr-
example
LET’S SEE IT IN PRACTICEhttps://github.com/anzeznidarsic/es6-webpack-vue-vuex-hmr-
example
READING• https://webpack.github.io/docs/webpack-dev-
server.html#hot-module-replacement
• https://medium.com/@rajaraodv/webpack-hot-module-replacement-hmr-e756a726a07
• http://vuejs.org/guide/
• http://vuex.vuejs.org/en/index.html
work related: [email protected]: [email protected]
Thank you
link to slides will be posted on: twitter.com/anzeznidarsic