Migrate from tailwind-sidebar to syncfusion sidebar component

This commit is contained in:
2025-09-12 16:09:19 +00:00
parent 75c5622efe
commit f3b72da9fe
9 changed files with 1820 additions and 7183 deletions

View File

@@ -4,6 +4,33 @@ import react from '@vitejs/plugin-react';
// https://vite.dev/config/
export default defineConfig({
plugins: [react()],
resolve: {
alias: {
'@syncfusion/ej2-react-navigations': '@syncfusion/ej2-react-navigations/index.js',
'@syncfusion/ej2-react-buttons': '@syncfusion/ej2-react-buttons/index.js',
},
},
optimizeDeps: {
include: [
'@syncfusion/ej2-react-navigations',
'@syncfusion/ej2-react-buttons',
'@syncfusion/ej2-base',
'@syncfusion/ej2-navigations',
'@syncfusion/ej2-buttons',
'@syncfusion/ej2-react-base',
],
force: true,
esbuildOptions: {
target: 'es2020',
},
},
build: {
target: 'es2020',
commonjsOptions: {
include: [/node_modules/],
transformMixedEsModules: true,
},
},
server: {
host: '0.0.0.0',
watch: {