-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Where is index.html
?
#11401
Comments
you can run here's what it looks like when you run that command:
select the files that you want to manage yourself with space bar then hit return but also, most libraries ship npm packages these days too! |
@brentvatne How do you undo it, now I'm stuck with a React Native Web page that won't show anything as it does hydrate the data |
delete the files that were generated when you ran the command |
@brentvatne Yeah, I tried that of course, but I think Expo must make some other change as now it points to the parent directory of the place where index.html was placed by the command. I'll see if I can find where this is stored. |
you can initialize a new project with |
Running expo customize:web returns with Exiting with no change... |
@mohity777 after running expo customize:web, use the arrow keys to choose the file, press space first to select the option (bullet point will fill green), and then enter to execute it. If you just press enter with no green dot it will exit with no change. |
Thanx @RomneyDa . I was able to figure out though. Still it may help others who might face this issue. |
This a very important aspect of expo/RN-web development, and it's weirdly hard to find, which makes for much confusion to a new-comer. Greater visibility (particularly on this page) in the docs would help. |
"Press space to select" after it has been selected with the arrow keys? This is the result when back-end devs doing UX. |
I know this issue is closed but this may help future developers. I am using Expo with Metro bundler for a ReactNative/TS app and found out that |
Hi. Sorry if the question is very basic. I am quite new to the React area, so I may have gotten lost here. May I kindly ask, what is the procedure, if any, to run third-party, or custom Javascript libraries in a web target, i.e. React Native for Web project, the same way we do with <script> tags in a "normal" web application?
I have created a bare project with expo-cli but cannot find any index.html, or src or public folder. I created the public folder and put an index file there, but it seems it is not read.
Thanks for the help
Best
The text was updated successfully, but these errors were encountered: