mirror of
https://github.com/tiennm99/ai-coding-workflow-labs.git
synced 2026-09-16 22:21:16 +00:00
- 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)
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'],
|
|
},
|
|
});
|