Type Script is not generating JavaScript in my Visual Studio Community edition 2015

前端 未结 6 1204
小蘑菇
小蘑菇 2020-12-10 13:39

I am using Visual Studio Community edition 2015 for development, I have added *.ts file to my project but its not automatically compiling.

6条回答
  •  醉话见心
    2020-12-10 14:08

    Maybe not having the option to expand the .ts file and see the generated .js can cause a confusion here.Try to compile your solution. Click on Show All Files and you must see all the .js generated in the same folder of your .ts files. Include your .js in the project if you want to have them visible as part of the solutions. Hope this helps

提交回复
热议问题