Skip to content
New issue

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

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

Already on GitHub? # to your account

can support nativescript-vue 3 RC? #70

Open
BrightXue opened this issue Feb 7, 2025 · 1 comment
Open

can support nativescript-vue 3 RC? #70

BrightXue opened this issue Feb 7, 2025 · 1 comment

Comments

@BrightXue
Copy link

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?

@farfromrefug
Copy link
Member

@BrightXue The vue code in this component is for vue2. If you want vue3 support it needs to be implemented. PRs are welcome. You might find help on discord

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants