Replies: 1 comment 2 replies
-
@dacoto97 would love to hear your thoughts about that. :) |
Beta Was this translation helpful? Give feedback.
2 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.
-
Idea
Basically, when PRing inertiajs/progress#18, I thought that it would be nice to have the ability to initialize Inertia like the following:
Currently, we need to add the progress plugin, to import it and initialize it:
Given that 90% of the time, we just use the defaults, I think the progress plugin could just be baked in the core. It's super lightweight anyway.
Basically, the
createInertiaApp
would have aprogress
property which would be used to initialize the progress plugin. I'm thinking it should be enabled by default, so we could useprogress: false
when it's not wanted, and configure it withprogress: {...options}
when necessary (often).Pros
npm i @inertiajs/progress
Cons
Beta Was this translation helpful? Give feedback.
All reactions