Element: [Bug Report] get an error: Unknown custom element: <el-collapse-transition> while importing Menu/Submenu alone rather than importing all

Created on 7 May 2017  ·  6Comments  ·  Source: ElemeFE/element

Element UI version

1.3.0

OS/Browsers version

WIndows 10/Mac OS, Chrome 58

Vue version

2.3.2

Reproduction Link

https://github.com/ryancui-/vue-transition-issue

Steps to reproduce

  1. npm i
  2. npm run dev
  3. visit http://localhost:8086

What is Expected?

The menu should has a transition effect as in version 1.2.9.

What is actually happening?

The transition disappeared and an warn message show in the console.

All 6 comments

Fixed in #4728

still problem in
"element-ui": "^1.4.0"
"vue": "^2.3.3"

Same here!

@EmadAdly, @saenzramiro try to remove "element-ui" in your "node_modules" folder, and reinstall this framework again with npm install element-ui

thanks
fix it by update element-ui to 1.4.2

@orionlu0916 Great! Works now on 1.4.2.

Thank you @Leopoldthecoder and @orionlu0916!

Was this page helpful?
0 / 5 - 0 ratings