1

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??

4

1 回答 1

0

如果使用expo,则必须找到 file:your-app/node-modules/expo(not @expo but expo)/AppEntry.js并将 import App from 更改'../../App';为 import App from'../../App.vue';

于 2019-10-02T07:37:09.577 回答