Add frontend project structure with React/TypeScript setup

This commit is contained in:
Newzy Developer committed 2026-10-30 10:53:31 +00:00
1 parent c7abb73c66
commit 6914a6855c
58 files changed
+9056 -236

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
import { defineConfig } from 'vitest/config';
import react from '@vitejs/plugin-react';
import { mergeConfig } from 'vite';
export default mergeConfig(
{
plugins: [react()],
test: {
globals: true,
environment: 'jsdom',
include: ['src/**/*.{test,spec}.{ts,tsx}'],
coverage: {
provider: 'v8',
},
},
},
{
resolve: {
alias: {
'@': '/src',
},
},
}
);