I ran into this issue when I checked out the less important pages of my project (e.g. the "Thank you" page after submitting a form). Apparently react-snap doesn't build all the pages when running react run build. This is my package.json:
I figured that not even the HomePage is in the build folder but for some reason it works, 3 views are definitely missing, at least 5 views are in the build folder that shouldn't be there.
This is the structure of the src folder:
I couldn't find anything about structuring in the docs, is there a certain way views have to be organised so the will be recognised during the build process? Did anybody have experience with this issue as well?
I ran into this issue when I checked out the less important pages of my project (e.g. the "Thank you" page after submitting a form). Apparently
react-snap
doesn't build all the pages when runningreact run build
. This is mypackage.json
:I figured that not even the
HomePage
is in thebuild
folder but for some reason it works, 3 views are definitely missing, at least 5 views are in thebuild
folder that shouldn't be there.This is the structure of the
src
folder:I couldn't find anything about structuring in the docs, is there a certain way views have to be organised so the will be recognised during the build process? Did anybody have experience with this issue as well?