We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I ran it on 2 web servers, the first one is the standard used on the basic instructions:
npx create-react-app my-app cd my-app npm start
The second one, which also have the same behavior is Apache Tomcat 9. I put the ReactJS app there with:
npx create-react-app my-app cd my-app yarn build mv build/* ../WebContent/app/
How can it show the index.js page, even I type some other non-existing address as http://localhost:3000/asdfasdf%20/*asd/fasd?
http://localhost:3000/asdfasdf%20/*asd/fasd
Can it just show 404 not found?
The text was updated successfully, but these errors were encountered:
In React, page routing comes from the react-router class. You have to import that and render and declare the routes
Sorry, something went wrong.
Oops, Thanks. I will look into that.
No branches or pull requests
I ran it on 2 web servers, the first one is the standard used on the basic instructions:
The second one, which also have the same behavior is Apache Tomcat 9. I put the ReactJS app there with:
How can it show the index.js page, even I type some other non-existing address as
http://localhost:3000/asdfasdf%20/*asd/fasd
?Can it just show 404 not found?
The text was updated successfully, but these errors were encountered: