🚧 WIP(custom): v3.0.0 migrate to vite and esm

This commit is contained in:
Kuingsmile
2025-07-31 17:37:30 +08:00
parent cd76bc7c10
commit 054f4b4cff
597 changed files with 197292 additions and 13329 deletions

View File

@@ -1,4 +1,5 @@
import { reactive, InjectionKey, readonly, App, UnwrapRef } from 'vue'
import { App, InjectionKey, reactive, readonly, UnwrapRef } from 'vue'
import { saveConfig } from '@/utils/dataSender'
import { configPaths } from '#/utils/configPaths'
@@ -28,7 +29,7 @@ const setDefaultPicBed = (type: string) => {
}
export const store = {
install(app: App) {
install (app: App) {
app.provide(storeKey, {
state: readonly(state),
setDefaultPicBed