mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-16 04:35:42 +00:00
729256df28
Signed-off-by: 柠檬冲水 <10424920+ningmengchongshui@user.noreply.gitee.com>
8 lines
266 B
TypeScript
8 lines
266 B
TypeScript
import { createApp, getAppName } from 'alemonjs'
|
|
const AppName = getAppName(import.meta.url)
|
|
const { apps } = await import('./apps/index.js').finally(() => {
|
|
console.log('[APP] 喵喵插件 启动')
|
|
})
|
|
const app = createApp(AppName)
|
|
app.component(apps)
|
|
app.mount() |