[Vuejs]-Use dynamic import in vue router with laravel mix

0👍

Ok right, my .babelrcwas wrong.

This is right file :

{
    "presets": [
        "stage-2"
    ],
    "plugins": ["transform-vue-jsx", "transform-runtime","syntax-dynamic-import"]
}

I don’t feel comfortable with Webpack and Babel, so I accept explanation.

Leave a comment