mirror of
https://github.com/wmn1525/grasscutterTools.git
synced 2024-11-25 09:27:27 +00:00
11 lines
329 B
Handlebars
11 lines
329 B
Handlebars
import { defineStore } from 'pinia'
|
|
import piniaStore from '@/store/index'
|
|
|
|
export const use{{ properCase name }}Store = defineStore('{{ camelCase name }}', {
|
|
state: () => ({}),
|
|
getters: {},
|
|
actions: {}
|
|
})
|
|
export function use{{ properCase name }}OutsideStore() {
|
|
return use{{ properCase name }}Store(piniaStore)
|
|
} |