-
-
Notifications
You must be signed in to change notification settings - Fork 200
/
index.ts
68 lines (66 loc) · 1.92 KB
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
import { builtinPresets } from 'unimport'
import ahooks from './ahooks'
import { jotai, jotaiUtils } from './jotai'
import mobx from './mobx'
import mobxReactLite from './mobx-react-lite'
import preact from './preact'
import quasar from './quasar'
import react from './react'
import reactI18next from './react-i18next'
import reactRouter from './react-router'
import reactRouterDom from './react-router-dom'
import recoil from './recoil'
import solid from './solid'
import solidAppRouter from './solid-app-router'
import solidRouter from './solid-router'
import {
svelte,
svelteAnimate,
svelteEasing,
svelteMotion,
svelteStore,
svelteTransition,
} from './svelte'
import uniApp from './uni-app'
import veeValidate from './vee-validate'
import vitepress from './vitepress'
import vueRouter from './vue-router'
import vueRouterComposables from './vue-router-composables'
import vueuseCore from './vueuse-core'
import vueuseHead from './vueuse-head'
import vueuseMath from './vueuse-math'
import vuex from './vuex'
export const presets = {
...builtinPresets,
'ahooks': ahooks,
'@vueuse/core': vueuseCore,
'@vueuse/math': vueuseMath,
'@vueuse/head': vueuseHead,
'mobx': mobx,
'mobx-react-lite': mobxReactLite,
'preact': preact,
'quasar': quasar,
'react': react,
'react-router': reactRouter,
'react-router-dom': reactRouterDom,
'react-i18next': reactI18next,
'svelte': svelte,
'svelte/animate': svelteAnimate,
'svelte/easing': svelteEasing,
'svelte/motion': svelteMotion,
'svelte/store': svelteStore,
'svelte/transition': svelteTransition,
'vee-validate': veeValidate,
'vitepress': vitepress,
'vue-router': vueRouter,
'vue-router/composables': vueRouterComposables,
'vuex': vuex,
'uni-app': uniApp,
'solid-js': solid,
'@solidjs/router': solidRouter,
'solid-app-router': solidAppRouter,
'jotai': jotai,
'jotai/utils': jotaiUtils,
'recoil': recoil,
}
export type PresetName = keyof typeof presets