Skip to content

yugasun/auto-detect-component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

auto-detect-component

Downloads Version

Detect UI components used in your project automatically.

Usage

# install
npm install auto-detect-component -g

# get command help
adc --help

# run command
# demo is the project directory you need to detect
adc -d demo -u 'element-ui' -o plugin

Then use the created plugin file as Vue plugin:

import Vue from 'vue';
import UIPlugin from './plugin/ui-plugin';

Vue.use(UIPlugin);

TODO

[ ] Unit test.

Support UI Toolkit

It supports two UI toolkit for Vue:

License

MIT

About

Creating UI components plugin for your project automatically

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published