I deploy Meteor1.7
by MUP
.
Deploying is work fine, but have problem when open project.
(It work fine on Local)
I base on Vue-Component
It may error with Vue Router
import...
const router = new VueRouter({
mode: "history",
routes: routes
});
Meteor.startup(() => {
// Start the vue app
new Vue({
router,
render: h => h(App)
}).$mount("app");
});
And then I try to don’t use Vue Router
feature (one page), It work fine
Now I found bug with dynamic import in my routes
const routes = [
{
path: "/",
name: "home",
component: () => import('./Home.vue')
}
];
Please advise