build: 初始化构建前端
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
function App() {
|
||||
return (
|
||||
<div>
|
||||
<h1>gen2d</h1>
|
||||
<p>AI 驱动的 2D 游戏素材生成工具</p>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default App
|
||||
@@ -0,0 +1,9 @@
|
||||
import { StrictMode } from 'react'
|
||||
import { createRoot } from 'react-dom/client'
|
||||
import App from './App'
|
||||
|
||||
createRoot(document.getElementById('root')!).render(
|
||||
<StrictMode>
|
||||
<App />
|
||||
</StrictMode>,
|
||||
)
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
/// <reference types="vite/client" />
|
||||
Reference in New Issue
Block a user