mirror of
https://github.com/wmn1525/grasscutterTools.git
synced 2024-11-16 04:45:37 +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)
|
|
} |