I have a problem with undoing Inertia.js in my application. When I started my application, I accidentally typed both commands.
php artisan jetstream:install inertia --teams
After a while when I saw that Livewire would be more suitable for my project.
php artisan jetstream:install livewire --teams
I tried to delete all my Inertia.js components, but my npm watch
will output errors. I am wondering what I should do to undo Inertia.js from my project completely?
To reset the form values back to their default values, you can use the reset() method. If your form's default values become outdated, you can use the defaults() method to update them. This way, the next time the reset() method is used, the form will be reset to the correct values.
Inertia.js - The Modern Monolith. Build single-page apps, without building an API. Inertia.js lets you quickly build modern single-page React, Vue and Svelte apps using classic server-side routing and controllers.
I think Inertia. js provides a really good way to build JavaScript heavy web applications. It brings the goodies of your JavaScript framework of choice without the drawbacks of having to do an API or a GraphQL layer to feed it.
The way I see it you have 3 options:
You're so early on in the project that it makes the most sense. If you want to copy your controllers and views you want to save to another folder before starting over, there you go.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With