Commit 045fcddb by chenwq

feat(config): 注册 Vant 的 Sticky 和 Calendar 组件

1 parent 77b17490
......@@ -25,7 +25,9 @@ import {
Switch,
Cell,
CellGroup,
Loading
Loading,
Sticky,
Calendar
} from 'vant'
// 导出一个函数,接收一个app参数,在函数中注册组件
export function vant(app) {
......@@ -56,4 +58,6 @@ export function vant(app) {
app.use(Cell)
app.use(CellGroup)
app.use(Loading)
app.use(Sticky)
app.use(Calendar)
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!