From 3f0d5ddb8ff86f73046b523247c5404a3439a2c1 Mon Sep 17 00:00:00 2001 From: u3u Date: Sun, 7 Jul 2019 18:41:21 +0800 Subject: [PATCH] feat(hooks): export hooks in entry --- src/index.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/index.ts b/src/index.ts index 91f3b6a..ef77dea 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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 });