UNPKG

create-mori

Version:

Quickly create project templates to support the required repositories as much as possible

10 lines (7 loc) 269 B
import { create } from 'zustand'; import type { CountSlice } from './slices/countSlice'; import createCountSlice from './slices/countSlice'; const useRootStore = create<CountSlice>()((...args) => ({ ...createCountSlice(...args), })); export default useRootStore;