Where is this file located?
Ah yes, then that sounds right!
You can just modify App.tsx
to be whatever you’d like it to be, replacing the placeholder content there
Are you using plain react? It doesn’t come with a routing framework, but if you are using react-router, then the following should be able to auto load all plasmic pages at the correct routes:
https://docs.plasmic.app/learn/react-quickstart/#auto-load-all-plasmic-pages
@yang I got this error when using the get started example Creating an optimized production build...
Failed to compile.
[eslint]
src/App.tsx
Line 33:62: Unexpected use of 'location' no-restricted-globals
Line 47:39: Unexpected use of 'location' no-restricted-globals
I was able to fix the error with this. /* eslint-disable no-restricted-globals */