Open egoist opened 8 years ago
"ordinary" HMR would suffice for this ... the Example 3 on this page: https://webpack.github.io/docs/hot-module-replacement.html
Is there a way to automate that? Looks like there'll be too much boilerplate code for every single module...
I made this webpack loader for JSX Vue files: https://github.com/skyrpex/vue-jsx-loader
In 2.0, since we don't have to use
<template>
in a.vue
component, and<style>
is also optional, so why not make avue-hot-loader
for.js
vue component with hot-reloading support?