feat: updates

This commit is contained in:
qier222 2022-04-02 16:54:37 +08:00
parent 86f088e5c9
commit 3ef7675696
No known key found for this signature in database
GPG key ID: 9C85007ED905F14D
12 changed files with 158 additions and 146 deletions

View file

@ -30,6 +30,11 @@ subscribe(state, () => {
})
export const player = proxy(PlayerCore)
player.init()
if (import.meta.env.DEV) {
window.player = player
}
// Devtools
devtools(state, 'state')