Closed kaikaige closed 7 years ago
import { Tabbar, TabbarItem, XInput, Group, XButton, Cell, XHeader, LoadingPlugin } from 'vux' export default { components: { XInput, XButton, Group, Cell, XHeader, Tabbar, TabbarItem },
别在移动端干这么变态的事。如果组件重复使用,在 main.js 中全局注册组件就好。
我就是想要方便一点,因为最终build的文件我会混编成APP
不想每调用一个组件都需要引入一次,有没有直接全部装载进来的方法?