Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vue native executes App.js instead of App.vue #205

Closed
GarciaTandela opened this issue Sep 12, 2019 · 11 comments
Closed

Vue native executes App.js instead of App.vue #205

GarciaTandela opened this issue Sep 12, 2019 · 11 comments

Comments

@GarciaTandela
Copy link

Hey i'm having a problem i want to start learning vue native but when i execute he always starts app.js instead of app.vue.How do i solve this problem, i really need help with that

@RishabhKarnad
Copy link
Contributor

RishabhKarnad commented Sep 16, 2019

@YannickSilva it would help if you provided the following info:

  • What platform are you using (OS an shell)?
  • Did you create the project using vue-native-cli or did you convert a React Native project?
  • Also, are you using Expo as the basis or just bare React Native?

Could you also share the list of files in your project directory (maybe the result of running ls at the project root?)

@GarciaTandela
Copy link
Author

I'm using Windows 10 with the command line, i created the project using vue native-cli and i use Expo as the basis and still he keeps running App.js instead of App.vue i'm so frustated.

@RishabhKarnad
Copy link
Contributor

RishabhKarnad commented Sep 16, 2019

@YannickSilva Could you share the directory structure that was generated? This would help me understand the problem better, since App.js shouldn't even exist in your directory after project creation.

@GarciaTandela
Copy link
Author

ScreenShot_20190916195017

@RishabhKarnad
Copy link
Contributor

RishabhKarnad commented Sep 17, 2019

Confirmed that this is an issue on Windows. The App.js file is not being deleted after the App.vue file has been created. This will be fixed with the next release of vue-native-cli.

@RishabhKarnad
Copy link
Contributor

Closing this issue as a new one has been opened in https://github.com/GeekyAnts/vue-native-cli instead, as it would be more relevant to that repo.

GeekyAnts/vue-native-cli#29

@GarciaTandela
Copy link
Author

@RishabhKarnad when is the next release coming ?

@RishabhKarnad
Copy link
Contributor

RishabhKarnad commented Sep 17, 2019

@YannickSilva The next release of Vue Native CLI should be out within the next two weeks. Until then, please add any comments on the relevant issue in that repo. All updates related to this issue will be posted there. Thanks

@kothanzaw
Copy link

still not solve. ?

{
"main": "node_modules/expo/AppEntry.js",
"scripts": {
"start": "expo start",
"android": "expo start --android",
"ios": "expo start --ios",
"web": "expo start --web",
"eject": "expo eject"
},
"dependencies": {
"expo": "~37.0.3",
"react": "~16.9.0",
"react-dom": "~16.9.0",
"react-native": "https://github.com/expo/react-native/archive/sdk-37.0.1.tar.gz",
"react-native-web": "~0.11.7",
"vue-native-core": "^0.1.4",
"vue-native-helper": "^0.1.4"
},
"devDependencies": {
"@babel/core": "^7.8.6",
"babel-preset-expo": "~8.1.0",
"vue-native-scripts": "^0.1.4"
},
"private": true
}
on window 10

@simon-caceres
Copy link

today i´m having the same problem, did someone could fix it?

@RishabhKarnad
Copy link
Contributor

This issue has been fixed.

https://github.com/GeekyAnts/vue-native-cli/releases/tag/v0.1.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants