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

Question: I have installed vue native, i haven't installed emulator so im opening the app in browser. The problem is that the system is running App.js file but not App.vue. How can i sort out this? Thanks #40

Closed Sarmad-Akram closed 4 years ago

Sarmad-Akram commented 4 years ago

The best place to find answers is the documentation 📖

If you still haven't found what you are looking for or need more help, feel free to reach out on Vue Native Slack

RishabhKarnad commented 4 years ago

Hi @Sarmad-Akram. Please leave more information in the description, since the issue is not clear.

Info such as your OS, target platform (iOS/Android), vue-native version etc. would help figure out the issue.

If you are trying to use Vue Native on web, it won't work right now GeekyAnts/vue-native-cli#37

Sarmad-Akram commented 4 years ago

Good morning @RishabhKarnad Thank you so much for replying.

Yes, I'm using the web browser instead on an emulator so if it doesn't work then please suggest me how to configure genymotion with vue native. By the way it work also on web. If i make some changes in App.js as react then it works the problem is that i have to work in react App.js but i have installed vue native because i want to write code in vue.

RishabhKarnad commented 4 years ago

I haven't tried Vue Native on genymotion. Would it be possible for you to try running it with Android Studio on an emulator?

Vue Native won't work on web right now.

AdrianoCahete commented 4 years ago

Same happen on Android emulator, following the Docs steps.

The code running is on App.js. Changing App.vue makes no difference.

You can run this test repo here (is basically the fresh install with documentation changes on vue file): https://github.com/AdrianoCahete/vue-native-test-project

@Sarmad-Akram did you find any solution to this problem?

RishabhKarnad commented 4 years ago

Seems to be a duplicate of #29