created react template

This commit is contained in:
=
2026-04-02 21:40:21 +10:00
parent b5760c5b3f
commit 918a141a9f
16 changed files with 3251 additions and 0 deletions

11
labs/lab4/vite.config.js Normal file
View File

@@ -0,0 +1,11 @@
import { defineConfig } from 'vite'
import react, { reactCompilerPreset } from '@vitejs/plugin-react'
import babel from '@rolldown/plugin-babel'
// https://vite.dev/config/
export default defineConfig({
plugins: [
react(),
babel({ presets: [reactCompilerPreset()] })
],
})