mirror of
https://github.com/viarotel-org/escrcpy.git
synced 2025-02-15 18:12:37 +01:00
16 lines
289 B
JavaScript
16 lines
289 B
JavaScript
|
import { createPinia } from 'pinia'
|
||
|
import { useScrcpyStore } from './scrcpy/index.js'
|
||
|
|
||
|
export { useScrcpyStore }
|
||
|
|
||
|
export default {
|
||
|
install(app) {
|
||
|
const store = createPinia()
|
||
|
|
||
|
app.use(store)
|
||
|
app.config.globalProperties.$store = {
|
||
|
scrcpy: useScrcpyStore(),
|
||
|
}
|
||
|
},
|
||
|
}
|