mirror of
https://github.com/kevin-DL/InertiaJS-Vue3-Tailwind-CSS-AdonisJS.git
synced 2026-01-11 19:04:27 +00:00
first commit
This commit is contained in:
7
start/inertia.ts
Normal file
7
start/inertia.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import Inertia from '@ioc:EidelLev/Inertia';
|
||||
|
||||
Inertia.share({
|
||||
errors: (ctx) => {
|
||||
return ctx.session.flashMessages.get('errors');
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user