/auto-detect-component

Creating UI components plugin for your project automatically

Primary LanguageJavaScriptMIT LicenseMIT

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