V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
meteor199
V2EX  ›  Vue.js

在 vue 中使用 tsx 是一种怎样的体验?

  •  
  •   meteor199 · May 31, 2018 · 7427 views
    This topic created in 2887 days ago, the information mentioned may be changed or developed.

    在 vue 中使用 ts ,模板中没有类型检查,并且不能直接导航到子组件,ts 的方便性被阉割了一部分。
    发现 tsx 可以对模板有类型检查,并且配合 vscode 的 css module 插件,可以对模板,css,js 全部智能提示。
    想问下大家 tsx 用的人多吗? 生态好吗? 有什么不便的地方?

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   6118 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 02:45 · PVG 10:45 · LAX 19:45 · JFK 22:45
    ♥ Do have faith in what you're doing.