You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If one tries to start their app which bundled with react frontend without building it first, they will an error stating Error: Message("one of the static path are not found, Folder frontend/distfallback:frontend/dist/index.html")
To Reproduce
Create a SaaS app with React frontend. run cargo loco run
Expected Behavior
Suggest to have a build.rs that will run the build for the fronted. Even better will be that if it's in dev mode, it will start the react app in dev mode
The text was updated successfully, but these errors were encountered:
A build.rs would also run if we were to call something like cargo loco help. It seems like this would be a good feature for the cli though. cargo loco start would build the frontend before serving
Description
If one tries to start their app which bundled with react frontend without building it first, they will an error stating
Error: Message("one of the static path are not found, Folder
frontend/distfallback:
frontend/dist/index.html")
To Reproduce
Create a SaaS app with React frontend. run
cargo loco run
Expected Behavior
Suggest to have a
build.rs
that will run the build for the fronted. Even better will be that if it's in dev mode, it will start the react app in dev modeThe text was updated successfully, but these errors were encountered: