Inertia Route Dynamically Added #4597
Closed
mikesaintsg
started this conversation in
General
Replies: 2 comments 4 replies
-
Hey @mikesaintsg! 👋🏻 We are happy to accept a PR for this. Most people install the starter kit directly, and they don't add Inertia in an already running application. What are your thoughts @Julien-R44? |
Beta Was this translation helpful? Give feedback.
4 replies
-
The inertia starter kit will now add the route on |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Inertia currently appends an inertia route
/inertia
but it's confusing when using with a starter kit and get an error that the home route/
can't be found.It would be nice for it to check whether there is a home route already. If not, then make the inertia the home route, and if so, just use the inertia route
/inertia
I can fix this quickly with a few lines and a test, just want to make sure it's worth a pull request, happy to provide
Beta Was this translation helpful? Give feedback.
All reactions