elementui样式引入方法

------------恢复内容开始------------

1.直接引入:import 'element-ui/lib/theme-chalk/index.css'

2.下载资源包:https://unpkg.com/[email protected]/lib/theme-chalk/index.css 【2.15.2】为"element-ui": "^2.13.0"版本号。

复制当前页面内容,添加到index.css文件中

同时它需要fonts文件夹下.ttf,.woff 下载就行了:https://unpkg.com/[email protected]/lib/theme-chalk/fonts/element-icons.ttf 

然后2的引用方式就是 import './assets/css/theme-chalk/index.css' 如果你想修改样式就可以直接修改了。

------------恢复内容结束------------

相关文章

el-menu 有个属性 :default-active="curActive"...
基础用法1<el-inputv-model="input1"palcehode...
 1.安装element-uinpminstallelement-ui-S 2.在main.js中i...
layout布局通过基础的24分栏,可进行快速布局基础布局使用单...
 今天做一个选择年份的功能,直接调用了ElementUI里面的Dat...
  that.end 即为结束日期