mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
12 lines
354 B
JavaScript
12 lines
354 B
JavaScript
import Waterfall from './directive';
|
|
|
|
Waterfall.install = function (Vue) {
|
|
if (process.env.NODE_ENV !== 'production') {
|
|
console.warn('[Vant] Waterfall is deprecated, please use List component instread');
|
|
}
|
|
Vue.directive('WaterfallLower', Waterfall('lower'));
|
|
Vue.directive('WaterfallUpper', Waterfall('upper'));
|
|
};
|
|
|
|
export default Waterfall;
|