You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
411 B
14 lines
411 B
import { defineStore } from 'pinia'
|
|
import { state } from './state'
|
|
import { getters } from './getters'
|
|
import { actions } from './actions'
|
|
import type { Actions } from './actions'
|
|
import type { Root } from '../types'
|
|
import type { State } from './state'
|
|
import type { Getters } from './getters'
|
|
|
|
export const useRootStore = defineStore<Root, State, Getters, Actions>('root', {
|
|
state,
|
|
getters,
|
|
actions
|
|
})
|
|
|