error message
Solution
new Vue({
router,
render: h => h(App),
}).$mount('#app')
microApp.start()// 移到new Vue前面
correct spelling
microApp.start();
new Vue({
router,
render: h => h(App),
}).$mount('#app')
reason
Before web component
registering the component micro-app
, vue
render the instance, and micro-app
report an error if it finds that it is neither a normal tag nor registered.