Visual Studio: How to create project from existing GitHub repository?

前端 未结 3 1822
予麋鹿
予麋鹿 2021-01-31 02:01

I came from Eclipse background and I am apparently missing something.

There is an existing GitHub project with JS code in it and I would like to start adding TypeScript

3条回答
  •  感情败类
    2021-01-31 02:34

    I solved this by opening the site as a website. File->Open->Website.

    No Project Files/Solution files required. It just opens up the folder in the solution explorer.

    To make it a typescript project, just add a tsconfig.json file to the directory.

提交回复
热议问题