We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83460de commit 1b93cefCopy full SHA for 1b93cef
adonis-typings/inertia.ts
@@ -66,7 +66,8 @@ declare module '@ioc:EidelLev/Inertia' {
66
* {
67
* ssr: {
68
* enabled:true,
69
- * allowList: ['HomePage', 'Login']
+ * allowList: ['HomePage', 'Login'],
70
+ * autoreload: process.env.NODE_ENV === 'development'
71
* }
72
73
* ```
templates/inertia.txt
@@ -16,5 +16,6 @@ export const inertia: InertiaConfig = {
16
view: '{{view}}',
17
ssr: {
18
enabled: {{shouldEnableSsr}},
19
+ autoreload: process.env.NODE_ENV === 'development',
20
},
21
};
0 commit comments