element UI 2.0 发布了! 从1.4.8升级到2.0 步骤
首先,删除你的element UI 1.4.8版本 ,输入以下命令:
- <span style="font-size:18px;color:#ff0000;"><strong>npm uninstall element-ui</strong></span>
进入到项目目录,安装2.0
- <span style="font-size:18px;color:#ff0000;"><strong>npm install [email protected] -S</strong></span>
修改新增的 theme-chalk
主题
然后, 页面的样式就已经升级了.
- <span style="font-size:18px;color:#ff0000;"><strong>npm uninstall element-ui</strong></span>
进入到项目目录,安装2.0
- <span style="font-size:18px;color:#ff0000;"><strong>npm install [email protected] -S</strong></span>
修改新增的 theme-chalk
主题
然后, 页面的样式就已经升级了.