ElemeFE / element

A Vue.js 2.0 UI Toolkit for Web
https://element.eleme.io/
MIT License
54.1k stars 14.64k forks source link

[Bug Report] WebStorm 支持异常 #22366

Open huanggefan opened 1 year ago

huanggefan commented 1 year ago

Element UI version

2.15.12

OS/Browsers version

Windows 11 21H2 WebStorm 2021.3.3 node v16.13.2

Vue version

2.7.14

Reproduction Link

https://gitee.com/huanggefan/issues-attachment/blob/master/elementui-20230130.zip

Steps to reproduce

  1. vue create anyproject
  2. npm i element-ui -S
  3. https://element.eleme.cn/#/zh-CN/component/installation 添加导入代码
  4. 在 WebStorm 打开项目
  5. App.vue 写下 默认按钮

What is Expected?

WebStorm 能够正常进行代码提示

What is actually happening?

未知 HTML 标记 el-button

huanggefan commented 1 year ago

in: node_modules\element-ui\types\index.d.ts WebStorm report "TS2300: Duplicate identifier"

lyon007 commented 1 year ago

装 2.15.10就好了

https://github.com/ElemeFE/element/issues/22261

zero-drop-blank commented 9 months ago

2.15.14还有这个问题!