✨Feat: 导入heroui组件库和tailwindcss

This commit is contained in:
2026-03-24 11:12:33 +08:00
parent 1c860d0957
commit 0200ca99b2
6 changed files with 2733 additions and 9 deletions
+4 -2
View File
@@ -1,8 +1,10 @@
import { Button } from '@heroui/react';
function App() {
return (
<>Hello World</>
<> <Button>
My Button
</Button></>
)
}
+2
View File
@@ -0,0 +1,2 @@
@import "tailwindcss/theme" theme(reference);
@import "@heroui/styles";
+1
View File
@@ -1,3 +1,4 @@
import './global.css'
import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import App from './App.tsx'