Root view
Customizing the root view
By default an inertia response is rendering data in the default app.html
view.
Global configuration
You can change the name of the view globally in the configuration file
config/inertia.py
Now every inertia responses is going to render content in inertia_app.html
view.
This can also be done through a custom inertia middleware.
Local configuration
There are situations where you may want to render content in other view but just e.g. for one controller method. We got you covered !
app/http/controllers/HomeController.py
Last updated