vue assists ElementUi basic introduction, download, use steps

Introduction

Background: What hungry team development

Official website: https://element.eleme.cn/#/zh-CN

Description: Element, set for the developers , designers and product managers prepared based on the desktop Vue 2.0 (PC end) component library

  • It helps you a good package of some of the components can be used directly
  • Components, is expanding to a html tags
  • Inside the property you may not need to remember

Steps for usage

  1. installation
    • cnpm install element-ui -S
    • When installation is not error, if error, then reinstall
  2. Introduced
/--------------------main.js--------------------------------/
	import ElementUI from 'element-ui';           // 引入组件库
	import 'element-ui/lib/theme-chalk/index.css';// 引入的组件所需要的CSS
  1. use
Vue.use(ElementUI);// 安装elementui插件。

Probably like this

Here Insert Picture Description

Published 63 original articles · won praise 6 · views 1192

Guess you like

Origin blog.csdn.net/qq_44163269/article/details/105254932