rockyou12
V2EX  ›  Vue.js

vue+elementui 项目上了 ts 后没有 el 组件的提示是为啥?

  •  
  •   rockyou12 · Oct 16, 2018 · 3541 views
    This topic created in 2791 days ago, the information mentioned may be changed or developed.

    后端写得多,前端才开始学。本来用 vue+elementui 把页面都画出来了,但 es6 写起来太挫了,就照着 vue 的模板把 ts 加进来了。但上了 ts 后,.vue 文件里的 el 组件 ide 全部报错。比如:

    Unknown html tag el-select

    找了下网上文章但好多好像都过时了或者没用…… ide 是 webstorm。还有有没有好的 vue+elementui+ts 的 demo 项目推荐下

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2806 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 12:15 · PVG 20:15 · LAX 05:15 · JFK 08:15
    ♥ Do have faith in what you're doing.