✨Feat: 导入heroui组件库和tailwindcss
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
|
||||
import { Button } from '@heroui/react';
|
||||
function App() {
|
||||
|
||||
return (
|
||||
<>Hello World</>
|
||||
<> <Button>
|
||||
My Button
|
||||
</Button></>
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
@import "tailwindcss/theme" theme(reference);
|
||||
@import "@heroui/styles";
|
||||
@@ -1,3 +1,4 @@
|
||||
import './global.css'
|
||||
import { StrictMode } from 'react'
|
||||
import { createRoot } from 'react-dom/client'
|
||||
import App from './App.tsx'
|
||||
|
||||
Reference in New Issue
Block a user