index.hbs 294 B

1234567891011121314
  1. import { defineStore } from 'pinia';
  2. import {{properCase name}}State from './types';
  3. const use{{properCase name}}Store = defineStore('{{name}}', {
  4. state: (): {{properCase name}}State => ({}),
  5. getters: {},
  6. actions: {},
  7. persist: true,
  8. });
  9. export default use{{properCase name}}Store;