22 lines
488 B
TypeScript
22 lines
488 B
TypeScript
/**
|
|
* Feel free to let me know via PR,
|
|
* if you find something broken in this config file.
|
|
*/
|
|
|
|
import { InertiaConfig } from '@ioc:EidelLev/Inertia';
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Inertia-AdonisJS config
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
*/
|
|
|
|
export const inertia: InertiaConfig = {
|
|
view: 'app',
|
|
ssr: {
|
|
enabled: true,
|
|
autoreload: process.env.NODE_ENV === 'development',
|
|
},
|
|
};
|