Thanks to visit codestin.com
Credit goes to github.com

Skip to content

TabView on Vue3 #1063

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
aalonzi opened this issue Oct 11, 2023 · 2 comments · Fixed by #1064
Closed

TabView on Vue3 #1063

aalonzi opened this issue Oct 11, 2023 · 2 comments · Fixed by #1064

Comments

@aalonzi
Copy link

aalonzi commented Oct 11, 2023

Hi to all,
I try to use TabView on Vue3, but I have these error message:
TypeError: Class constructor TabView cannot be invoked without 'new'

I use html code from https://v8.docs.nativescript.org/ui-and-styling.html#tabview and vue3 template from @nativescript-vue/template-blank@beta

Can you help me?

@vallemar
Copy link
Contributor

vallemar commented Oct 11, 2023

@aalonzi try removing the import of your component

import { TabView, TabViewItem } from "@nativescript/core"; // <----- Remove this line 

@aalonzi
Copy link
Author

aalonzi commented Oct 12, 2023

@aalonzi try removing the import of your component

import { TabView, TabViewItem } from "@nativescript/core"; // <----- Remove this line 

I try also it, but I have these error:
[Vue warn]: Failed to resolve component: TabViewItem If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement. at <Tabs>

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants