I am little confused by how controllers in Laravel Inertia should be used. On the inertia documentation it says "With Inertia, each page in your application has its own controller". However, on most tutorials it seems to be using controllers on the model in the normal way. What's the correct way to do it?
Related Questions in LARAVEL-8
- Laravel: Show products of all subcategories
- Livewire events not working in Laravel Modular project
- How to properly set timestamp field seeder for a postgreSql database in Laravel 10.47?
- Php 8.3 No active Transaction in Laravel 8
- Encountering 403 Forbidden Error When Fetching Image in API via URL in Laravel App - How to Resolve?
- PHPMailer SMTP Error: Could not connect to SMTP host / using smtp.gmail.com server
- Can anyone provide petfinder client_id?
- How to safely migrate hashed(bcrypt) passwords during a PHP Laravel system upgrade; from Laravel 8 to 10?
- Laravel gmail smtp not sending email on live server
- Order By Clause Overridden in Laravel Union Query Construction
- Laravel 8 session token lost after redirect to external URL
- Troubleshooting incorrect content on mobile redirect
- login and registration page not jump to the dashboard after registration and login proces
- Troubleshooting VAT calculation issue
- when i'm install laravel by composer have an warning
Related Questions in INERTIAJS
- Prevent a webpage from navigating away
- How to split posts into Chunks with Vue, Laravel, and Inertia?
- Resource URI is recognised but page wont load and browser throws 404, route:list says the route exist
- Inertia/Vue: keep getting props undefined error
- Modifying the URI of upcoming requests
- How to solve this error Array to string conversion - in laravel inertia vue
- Inertia & React CRUD without reloading page
- How to use Datatable in inertia vue
- React InertiaJS Laravel (Uncaught (in promise) TypeError: this.resolveComponent is not a function)
- How to dependent dropdown with Laravel Inertia Vue?
- Troubleshooting Preline UI JavaScript functions in a React/Inertia environment
- Session not saved after Auth::attempt
- Can I use inertia js with multi pages projects?
- How to pass a parameter in an Inertia lazy load request?
- how to return an error from laravel controller and catch it in Inertiajs using the form helper?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
I see there is already a project built with laravel8 and inertiajs which is already answering your questions https://github.com/inertiajs/pingcrm/tree/master/app/Http/Controllers