App.vue is not working in Vue-Native application

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-23 01:03:53

问题


i initialize project with vue-native init projectname after initializing there is "app.js" and "app.vue" file in the project and every time i run my application it only run the app.js file while the vue file is ignored.. any suggestions??


回答1:


If you use expo, you must find file: your-app/node-modules/expo(not @expo but expo)/AppEntry.js and change import App from '../../App'; to import App from '../../App.vue';



来源:https://stackoverflow.com/questions/53684116/app-vue-is-not-working-in-vue-native-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!