Skip to content

Vue router and hot reload #129

Closed
Closed
@GianlucaGuarini

Description

@GianlucaGuarini

Hi thanks for this awesome cli tool, I landed here thanks to an official vuejs tweet. I have followed the suggestion but despite the 50 npm dependencies required by the webpack template I wasn't able to get HMR in my app where I use the vue router to render my components. I have created a simple repo where anytime I update a component the page gets reloaded
https://github.com/GianlucaGuarini/vue-hmr-test/blob/master/src/main.js

Am I doing something wrong? Any hint about how achieving HMR also with vue-router and vuex?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions