mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-17 13:48:02 +00:00
chore: 用esbuild代替vite来打包main
This commit is contained in:
parent
b4590c3c34
commit
c4219afd3d
152 changed files with 669 additions and 747 deletions
18
src/renderer/components/Main.tsx
Normal file
18
src/renderer/components/Main.tsx
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
import Router from '@/components/Router'
|
||||
import Topbar from '@/components/Topbar'
|
||||
|
||||
const Main = () => {
|
||||
return (
|
||||
<div
|
||||
id='mainContainer'
|
||||
className='relative flex h-screen max-h-screen flex-grow flex-col overflow-y-auto bg-white dark:bg-[#1d1d1d]'
|
||||
>
|
||||
<Topbar />
|
||||
<main id='main' className='mb-24 flex-grow px-8'>
|
||||
<Router />
|
||||
</main>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default Main
|
||||
Loading…
Add table
Add a link
Reference in a new issue