GeekyAnts / vue-native-cli

Write Native Mobile Apps using Vue. Vue Native is a wrapper around React Native APIs
92 stars 21 forks source link

web view components not working #28

Closed imsidz closed 4 years ago

imsidz commented 5 years ago

i have just new init with vue-native init <projectName> and trying to make webview but something went wrong

with your documentation i am using simply

<template>
    <web-view
        :source="{uri: 'https://fhirtmis.online'}"
        :style="{marginTop: 20}"
    />
</template>

but getting components not found

RohanTalip commented 5 years ago

WebView is no longer available from Vue Native: https://github.com/GeekyAnts/vue-native-core#react-native-components-that-cant-be-used-out-of-the-box

The documentation is on vue-native.io relating to WebView out of date.

You can import it from react-native-webview instead: https://github.com/react-native-community/react-native-webview

RishabhKarnad commented 4 years ago

The documentation will be updated soon. Closing this issue since it's not really related to vue-native-cli. Feel free to create an issue for this in vue-native-website