feat: 添加自动动画插件,更新 FormKit 配置以支持动态列表,重构样式和组件结构
All checks were successful
/ surge (push) Successful in 31s
All checks were successful
/ surge (push) Successful in 31s
This commit is contained in:
@ -1,8 +1,12 @@
|
||||
import { createApp } from 'vue'
|
||||
import { autoAnimatePlugin } from '@formkit/auto-animate/vue'
|
||||
import { plugin, /* defaultConfig */ } from '@formkit/vue'
|
||||
import App from './App.vue'
|
||||
import { createApp } from 'vue'
|
||||
import formKitConfig from '../formkit.config'
|
||||
import App from './App.vue'
|
||||
|
||||
const app = createApp(App)
|
||||
|
||||
// https://github.dev/formkit/auto-animate/blob/master/docs/src/examples/formkit/ActualFormKit.vue
|
||||
app.use(autoAnimatePlugin)
|
||||
app.use(plugin, formKitConfig)
|
||||
app.mount('#app')
|
||||
|
Reference in New Issue
Block a user