store.ts.t 403 B

1234567891011121314
  1. ---
  2. to: "<%= h.getPath('store', { directoryScope: directoryScope, suffix:`/${storeName}.ts`}) %>"
  3. ---
  4. // <%= h.zammadCopyright() %>
  5. import { acceptHMRUpdate, defineStore } from 'pinia'
  6. export const <%= h.usePrefix(storeName) %> = defineStore('<%= storeName %>', () => {
  7. return {}
  8. })
  9. if (import.meta.hot) {
  10. import.meta.hot.accept(acceptHMRUpdate(<%= h.usePrefix(storeName) %>, import.meta.hot))
  11. }