Element: Element 2.0.0-alpha.1 released 🎉

Created on 30 Sep 2017  ·  13Comments  ·  Source: ElemeFE/element

Changelog

https://github.com/ElemeFE/element/releases/tag/v2.0.0-alpha.1

Documentation

http://element.eleme.io/2.0/#/en-US/component/installation

Installation

npm install element-ui@next
import Vue from 'vue'
import Element from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

Vue.use(Element)

Tips

theme-chalk is included in 2.0.0-alpha.1, feel free to try it out. It is not recommended to use this version in production though, because it's still in alpha stage.

Some components (e.g. Table) are still being upgraded, and we'll ship them in future releases. Thank you for your patience.

Migration

If you wish to migrate from 1.4 to 2.0.0-alpha.1, please refer to the 'Breaking changes' section in changelog. When the final 2.0.0 version is released, we hope to be able to provide a migration tool for your convenience (fingers crossed).

official

Most helpful comment

2.0单独引用 input 会报下面的错
`
found in

--->

`
on-icon-click 属性失效
另外,单独引用下拉菜单也会报错。

All 13 comments

thanks for the awesome work, please can you tell me how to migrate from version 1.4 to 2

@wvllvw Updated.

@Leopoldthecoder thank you brother, You're doing a great job.
my question isn't clear what I mean is updating Element in webpack

@wvllvw Basically you don't need to change anything in webpack config. Just uninstall 1.4 and install 2.0.0-alpha.1 (remember the next tag), and import theme-chalk instead of theme-default.

Nice work!!!

validation related functionalities are still not good enough,async-validation should be gave up

I am experiencing what seems like styling issues when pulling in only npm i element-datepicker -S and then importing the styles obviously import 'element-ui/lib/theme-chalk/index.css'.

Can anyone confirm datepicker is not working by itself with 2.0 alpha?

Other than that, it's awesome!!

2.0单独引用 input 会报下面的错
`
found in

--->

`
on-icon-click 属性失效
另外,单独引用下拉菜单也会报错。

@doramart

  • Input 的问题请参考 #7324
  • on-icon-click 已被移除,请参考更新日志
  • Dropdown 的问题已经在 #7322 修复

@Chinese1904 We haven't updated the standalone packages. We'll do that when we come to the final release of 2.0.0.

image

message弹窗报错

Also in cards

@Leopoldthecoder quick question, it seems like standalone packages have not been updated yet. Any eta on those? Thanks so much!

Was this page helpful?
0 / 5 - 0 ratings