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
I followed the instructions to create a new nativescript-vue 3 app. Then I added a basic ListView to the Home page. However, it won't render. Instead I get a lot of warning messages that say the following:
Vue warn]: Failed to resolve component: v-template
If this is a native custom element, make sure to exclude it from component resolution
via compilerOptions.isCustomElement.
at <Home>
I'm running the app on an iOS simulator. Is ListView supported or is there something else I need to do to get it to work?
@vallemar Thanks for the quick response! I was able to get my ListView to work. Is there documentation that goes into more depth? For example, with the @itemTap event handler, I'm trying to access event.item to get the tapped item, but it is showing as undefined.
No documentation coverage yet - the event.item was added by vue2, and haven't done the same in v3 yet. NativeScript itself only includes the event.index, so for convenience it was resolved to the actual item in v2 (ie. list.items[args.index]) and I think it's a nice QOL improvement that it should be added in v3 as well.
I followed the instructions to create a new nativescript-vue 3 app. Then I added a basic ListView to the Home page. However, it won't render. Instead I get a lot of warning messages that say the following:
I'm running the app on an iOS simulator. Is ListView supported or is there something else I need to do to get it to work?
package.json.
Home.vue
The text was updated successfully, but these errors were encountered: