码迷,mamicode.com
首页 > Web开发 > 详细

Use Typescript in asp.net MVC project.

时间:2017-05-25 00:01:16      阅读:190      评论:0      收藏:0      [点我收藏+]

标签:dex   pes   sch   can   web   mvc   browser   use   get   

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.

标签:dex   pes   sch   can   web   mvc   browser   use   get   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!