You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import * as Vue from 'vue';
import Comp from './comp.vue';
import App from './app.vue';
new Vue({
el: '#app',
components: { App, Comp },
render: h => h('app')
});
I can include comp directly in app.ts, but it does not work when embedded in app.vue component.
The text was updated successfully, but these errors were encountered:
I found no example that a component template includes another component in a .vue file.
The error I have is: Failed to mount component: template or render function not defined.
(found in component )
app.vue:
comp.vue:
app.ts:
I can include
comp
directly in app.ts, but it does not work when embedded in app.vue component.The text was updated successfully, but these errors were encountered: