Skip to content

can support nativescript-vue 3 RC? #70

@BrightXue

Description

@BrightXue
import Pager from '@nativescript-community/ui-pager/vue';
import Pagers from './components/Pagers.vue'
const app = createApp(Pagers);
const pager = app.use(Pager);
pager.start();

System.err: TypeError: Cannot read properties of undefined (reading 'nativeView')
System.err:
System.err: StackTrace:
System.err: mounted(file: src\webpack:\app_nsvue3\node_modules@nativescript-community\ui-pager\vue\pager.js:70:0)

the error happened in:ui-pager/vue/pager.js,

    mounted() {
        const pagerView = this.$refs.pagerView;
        this.pagerView = pagerView.nativeView;

can support nativescript-vue 3 RC?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions