0👍
✅
For fetchdata, u’ll also need to do what you have done for ‘counter’.
const FetchData = () => import('./components/fetchdata/fetchdata').then(m => m.default);
Then, for both of the component. U have called “.ts” files which knows nothing aboout where their “.vue.html” files (templates) are.
shortest resolution is to refer “.vue.html” where you have referenced their “.ts” files. like this.
const FetchData = () => import('./components/fetchdata/fetchdata.vue.html').then(m => m.default);
const Counter= () => import('./components/counter/counter.vue.html').then(m => m.default);
Source:stackexchange.com