feat: remove SSR for dasboard page

This commit is contained in:
Sonny
2024-11-15 18:42:42 +01:00
parent eac0c135d6
commit 6005374340
5 changed files with 26 additions and 7 deletions

View File

@@ -1,8 +1,8 @@
import { defineConfig } from 'vite';
import { getDirname } from '@adonisjs/core/helpers';
import inertia from '@adonisjs/inertia/client';
import react from '@vitejs/plugin-react';
import adonisjs from '@adonisjs/vite/client';
import react from '@vitejs/plugin-react';
import { defineConfig } from 'vite';
export default defineConfig({
plugins: [
@@ -21,6 +21,7 @@ export default defineConfig({
resolve: {
alias: {
'~/': `${getDirname(import.meta.url)}/inertia/`,
'config-ssr': `${getDirname(import.meta.url)}/config/ssr.ts`,
},
},
});