Closed CodeLookBook closed 7 years ago
Yes, it is.
@Zzzen how did you make tslint run well? 请问怎么弄出来提示的?我试了不行。
下载这个仓库,安装好依赖就可以了。你确定使用的是最新版的tsc和vscode?@danielding
@Zzzen 试了,不行啊
What about English ?))
seperate the ts from vue file, just write a ts file
Are you using the lastest vscode and tsc? I just downloaded this repo and everything worked fine @CodeLookBook
Should work if you're using Vetur. I can't speak for the Webstorm experience.
As for WebStorm, it looks like code within a SFC in <script lang="ts">
doesn't really get the TypeScript treatment due to https://youtrack.jetbrains.com/issue/WEB-30807. Please vote there if you (like me) want that and arrived here trying to make that work.
Thanks for linking to that @wuservices!
I encourage other WebStorm users to surface feedback there.
Google Translate: 我鼓励其他WebStorm用户在那里提供反馈。
For example: Look of the code in ".vue" file (IDE: phpStorm). At the same time, console message is correct.
Is that a problem of phpStorm?