Skip to content
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

Vue Integration #8

Open
nnuvo opened this issue Dec 14, 2018 · 4 comments
Open

Vue Integration #8

nnuvo opened this issue Dec 14, 2018 · 4 comments

Comments

@nnuvo
Copy link

nnuvo commented Dec 14, 2018

Looking for vue integration support. Currently there seems to be none.
Normally registering a module would follow this convention,

Vue.registerElement('web-view', () => require('nativescript-webview-interface'))

@krthush
Copy link

krthush commented Oct 18, 2019

Following up on this, have people managed to do this? I'm planning on integrating webviews into my Nativescript-Vue app

@imiskuf
Copy link

imiskuf commented Jan 9, 2020

@krthush Take a look at this solution, shripalsoni04/nativescript-webview-interface#50

it works in my NativeScript-Vue app

@suraj-bharti
Copy link

Hi, I'm using Vuejs, In my case, nothing happening, Will you please share cade?

@sylwesterdigital
Copy link

Hi, I'm using Vuejs, In my case, nothing happening, Will you please share cade?

In my case it did not triger onLoad from Page. I moved setupWebViewInterface to mounted(). Do not forget to add nativescript-webview-interface.js to your webview.

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

No branches or pull requests

5 participants