1. vue-cli-plugin-element
vue-cli 3 plugin to add element-ui
vue-cli-plugin-element
Package: vue-cli-plugin-element
Created by: ElementUI
Last modified: Mon, 23 May 2022 12:55:21 GMT
Version: 1.0.1
License: MIT
Downloads: 24,317
Repository: https://github.com/ElementUI/vue-cli-plugin-element

Install

npm install vue-cli-plugin-element
yarn add vue-cli-plugin-element

vue-cli-plugin-element

Element plugin for @vue/cli 3.0.

Install

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 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

Also there're some configurations for you.

image

RELATED POST

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin