-
Notifications
You must be signed in to change notification settings - Fork 432
hot reload? #28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
In my understand, unfortunately, vue-class-component cannot include hot reloading feature because it cannot have code generator as it is runtime library. To provide hot reloading, we need to trigger vue-hot-reload-api on hot reload and its code have to be placed on updated file. vue-loader and (not sure but probably) vueify inject the code while transform FYI: The hot reload feature of vue-loader and vueify should also work with using |
I just realized that using vue-class-component is the cause of my hmr not working.. quite disappointing. Are there plans to get around this? |
I found that to make it work with TypeScript you should provide additional configuration, because
new ForkTsCheckerWebpackPlugin({
tslint: true,
vue: true
}), I've created starter project to demonstrate this approach - vue-ts-sfc-webpack-hmr |
Uh oh!
There was an error while loading. Please reload this page.
Are there any plans to support hot-reloading of templates like for example vueify does?
The text was updated successfully, but these errors were encountered: