[英]How to load node.js/angular 2 project in Visual Studio?
I'm following along in a node.js/angular tutorial in which I'm given the following "seed" project: 我遵循的是node.js / angular教程,在该教程中,我得到了以下“种子”项目:
I'm told in the tutorial that I can open this in Visual Studio... but how? 在本教程中,我被告知可以在Visual Studio中打开它...但是如何?
Visual Studio requires a project or solution file to open the project. Visual Studio需要一个项目或解决方案文件才能打开该项目。 All I see here are some javascript and json files. 我在这里看到的只是一些javascript和json文件。 Sure, I can open individual files, but how do I open the whole project in Visual Studio? 当然,我可以打开单个文件,但是如何在Visual Studio中打开整个项目?
VS Code中的项目只是一个文件夹,因此,如果您在VS Code中打开seed-project
,它将自动填充所有文件并进行角度设置。
Please follow the below steps to load your Angular Project in Visual Studio. 请按照以下步骤在Visual Studio中加载Angular项目。
Step 1: Open Visual Studio. 步骤1:打开Visual Studio。
Step 2: Go to File--> New--> Project 步骤2:转到文件->新建->项目
Step 3: Choose JAvaScript in other languages and select "From existing Node.js code" as shown in below screen shot. 步骤3:选择其他语言的JAvaScript,然后选择“来自现有Node.js代码”,如下面的屏幕截图所示。
Step 4: Browse location folder. 步骤4:浏览位置文件夹。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.