feat: add shared package to pdf templates to render in the server and client side

This commit is contained in:
Ahmed Bouhuolia
2024-11-03 17:31:17 +02:00
parent ba1d9b3f28
commit 6687db4085
18 changed files with 1006 additions and 821 deletions

View File

@@ -0,0 +1,17 @@
import react from '@vitejs/plugin-react';
import { defineConfig } from 'vitest/config';
import tailwindcss from 'tailwindcss';
import { UserConfigExport } from 'vite';
const app = async (): Promise<UserConfigExport> => {
return defineConfig({
plugins: [react()],
css: {
postcss: {
plugins: [tailwindcss],
},
},
});
};
// https://vitejs.dev/config/
export default app;