mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 18:54:24 +00:00
feat(cli): auto install all components
This commit is contained in:
@@ -36,7 +36,7 @@ const components = [
|
||||
${names.join(',\n ')}
|
||||
];
|
||||
|
||||
function install() {
|
||||
function install(Vue) {
|
||||
components.forEach(item => {
|
||||
if (item.install) {
|
||||
Vue.use(Component);
|
||||
|
Reference in New Issue
Block a user