首页 > Web开发 > 详细

Use Typescript in asp.net MVC project.

时间:2017-05-24 23:32:15      阅读:262      评论:0      收藏:0      [点我收藏+]

1. create an empty web project.

2. add a index.html file.

3. open nuget browser, and enter tag:typescript. choose jquery.typescript.definitelytyped and install it.

4. then in project folder/ scripts/typings/jquery/jquery.d.ts file will appear.

5. drag and drop the jquery.d.ts file in index.ts file. then we can use jquery schema such as $.

Use Typescript in asp.net MVC project.

原文:http://www.cnblogs.com/chen-dong/p/6901244.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!