feat: 添加 @formkit/auto-animate 插件
This commit is contained in:
@ -1,6 +1,11 @@
|
||||
import { createHead } from '@unhead/vue';
|
||||
import { autoAnimatePlugin } from '@formkit/auto-animate/vue';
|
||||
|
||||
export function install({ app }: { app: import('vue').App<Element> }) {
|
||||
app.config.globalProperties.$__DEV__ = $__DEV__;
|
||||
|
||||
app.use(autoAnimatePlugin); // v-auto-animate="{ duration: 100 }"
|
||||
|
||||
app.use(createHead());
|
||||
app.config.errorHandler = (error, instance, info) => {
|
||||
console.error('Global error:', error);
|
||||
|
@ -5,5 +5,3 @@ export function install({ app }: { app: import('vue').App<Element> }) {
|
||||
app.use(createPinia().use(piniaPluginPersistedstate));
|
||||
app.use(PiniaColada, {});
|
||||
}
|
||||
|
||||
export * from '../stores/counter';
|
||||
|
Reference in New Issue
Block a user