Hello, I am following this link:https://serverless-stack.com/chapters/handle-routes-with-react-router.html, But once i delete
rm src/logo.svg and add below to my index.js:
<Router> <App /> </Router>, document.getElementById("root") );
src/index.js i get errors when i add
import App from "./App";, please see below errors:
Line 10: ‘App’ is not defined react/jsx-no-undef
Search for the keywords to learn more about each error.
Attempted import error: 'App' is not exported from './App'.
If anyone can please advise where i am going wrong, thank you?