Element plugin for @vue/cli
4.5.x
https://github.com/ElementUI/vue-cli-plugin-element
First you need to install @vue/cli
globally (follow the instructions here).
Then create a project and add the Element plugin:
vue create my-app
cd my-app
vue add element3
- Import on demand
- Choose the locale you want to load
- Vue Cli UI Support
You'll be asked some questions regarding how Element is configured in your project. After that, you're good to go.