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