added ssr?????

This commit is contained in:
Sockenklaus
2023-07-08 15:52:46 +02:00
parent 864da02de5
commit 5371f784fb
12 changed files with 1974 additions and 18 deletions

View File

@@ -15,6 +15,7 @@ import { InertiaConfig } from '@ioc:EidelLev/Inertia';
export const inertia: InertiaConfig = {
view: 'app',
ssr: {
enabled: false,
enabled: true,
autoreload: process.env.NODE_ENV === 'development',
},
};