mirror of
https://github.com/tiennm99/gsd-framework.git
synced 2026-05-22 06:24:52 +00:00
708ec8d520
- Create App.jsx importing PersonForm and PeopleList - Create main.jsx entry point for Preact render - Add index.html as app entry point - Add basic CSS styles for layout - Configure Vite with @preact/preset-vite - Update vitest config for Preact/jsdom environment - Add missing dependencies (preact, vite, @preact/preset-vite) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
12 lines
243 B
JavaScript
12 lines
243 B
JavaScript
import { defineConfig } from 'vitest/config';
|
|
import preact from '@preact/preset-vite';
|
|
|
|
export default defineConfig({
|
|
plugins: [preact()],
|
|
test: {
|
|
environment: 'jsdom',
|
|
globals: true,
|
|
include: ['tests/**/*.test.js'],
|
|
},
|
|
});
|