lepu-test-platform-web/node_modules/vue-cli-plugin-element/README.md

29 lines
991 B
Markdown

# vue-cli-plugin-element
Element plugin for `@vue/cli` 3.0.
### Install
First you need to install `@vue/cli` globally (follow the instructions [here](https://cli.vuejs.org/)).
Then create a project and add the Element plugin:
```bash
vue create my-app
cd my-app
vue add element
```
You'll be asked some questions regarding how Element is configured in your project. After that, you're good to go.
### Use with vue-cli UI
Skip this part if you've done everything in the `Install` section.
If you prefer managing your project in vue-cli UI (by running `vue ui`), here's how you can add Element plugin: go to the Plugins menu, click the upper right `+ Add plugin` button, find `vue-cli-plugin-element` and install it.
![image](https://user-images.githubusercontent.com/10095631/43555082-b9414998-962a-11e8-83ab-cda066a61093.png)
Also there're some configurations for you.
![image](https://user-images.githubusercontent.com/10095631/43555119-f486f034-962a-11e8-9862-dcaca0e3ebb3.png)