Skip to content

Commit

Permalink
feat(hooks): export hooks in entry
Browse files Browse the repository at this point in the history
  • Loading branch information
u3u committed Jul 8, 2019
1 parent 178575d commit 3f0d5dd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ import { setRuntimeVM } from './util/runtime';
export * from './useDate';
export { default as useDate } from './useDate';
export { default as useWindowSize } from './useWindowSize';
export { default as useStore } from './useStore';
export { default as useState } from './useState';
export { default as useGetters } from './useGetters';
export { default as useMutations } from './useMutations';
export { default as useActions } from './useActions';
export { default as useRouter } from './useRouter';

export default function install(Vue: VueConstructor) {
Vue.mixin({ beforeCreate: setRuntimeVM });
Expand Down

0 comments on commit 3f0d5dd

Please sign in to comment.