Reputation: 2321
I have ASP.NET MVC 3 project with Razor syntax. Now I implement js code inline html markup. It's temporaly case. Now I would like use TypeScript in my project.
Could you please how I should add typescript into my project instead of inline js code?
Upvotes: 1
Views: 287
Reputation: 276181
Could you please how I should add typescript into my project instead of inline js code
Instead of inline js use a script
tag : http://www.w3schools.com/tags/tag_script.asp
and compile your TypeScript to JavaScript. More : https://www.youtube.com/watch?v=RWXGMug_Rmo&hd=1
Upvotes: 1