nativescript-vue icon indicating copy to clipboard operation
nativescript-vue copied to clipboard

For the beta versions that supports vue 3, the tabview, tabs and bottomnavigation doesnt work.

Open stinis87 opened this issue 2 years ago • 1 comments

When i try to use one of these components in the default starter template for vue 3 beta version, i get an error saying "No known component for element tabview". I do not get this error when i have the same code in a vue 2 version on stackblitz. Any takes anyone?

stinis87 avatar Apr 16 '23 21:04 stinis87

@stinis87 you need register the plugins in your app.ts.

import TabsPlugin from '@nativescript-community/ui-material-tabs/vue';
import {BottomSheetPlugin} from "@nativescript-community/ui-material-bottomsheet/vue3";

const app = createApp(App);
app.use(TabsPlugin)
app.use(BottomSheetPlugin)

app.start();

vallemar avatar Apr 16 '23 21:04 vallemar