问题
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