This post was updated 598 days ago and some of the ideas may be out of date.

如果webstorm中 提示 Unknown html tag el-*** 说明没有加载 node_modules 下的 element-ui

解决办法就是:

在webstorm 打开的状态下

第一步:先卸载 element-ui 插件

>npm uninstall element-ui

第二部:重装 element-ui 插件

>npm install --save element-ui

这个时候 webstorm就会自动加载 element-ui 插件, el-** 标签 就可以正常使用,还会有属性提示等。

注意:一定是webstorm打开的状态下,才有用

转载于:https://www.cnblogs.com/victorlyw/p/10557521.html