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

前端 未结 6 1187
小蘑菇
小蘑菇 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:16

    Make sure that you highlight the project in the solution explorer and then click the icon at the top that says "show all files" after you have compiled the project. You will then see the .js and maybe a .js.map file (greyed out). Select the files and then right click and 'include in project' and things should be good from there.

提交回复
热议问题