forked from LaconicNetwork/cosmos-explorer
add gov
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
import type { PiniaPluginContext } from "pinia"
|
||||
|
||||
export function DashboardPlugin(context: PiniaPluginContext) {
|
||||
context.pinia // the pinia created with `createPinia()`
|
||||
context.app // the current app created with `createApp()` (Vue 3 only)
|
||||
context.store // the store the plugin is augmenting
|
||||
context.options // the options object defining the store passed to `defineStore()`
|
||||
// ...
|
||||
context.store.$subscribe((m, s) => console.log(m, s))
|
||||
}
|
||||
Reference in New Issue
Block a user