[英]VS 2017 basic web project template
I am currently struggling to find a basic project template for a simple angular app that I am building in VS 2017. This app will consist of only html/js/typescript files, npm's package.json file and a gulpfile. 我目前正在努力为在VS 2017中构建的简单角度应用程序找到基本项目模板。该应用程序将仅包含html / js / typescript文件,npm的package.json文件和gulpfile。 All templates I'm finding are for class libraries or include other aspects of server side based projects that I don't want or need in my project.
我找到的所有模板都用于类库,或者包含我不需要或不需要的基于服务器端项目的其他方面。
Is there a way to make a basic web project in VS 2017? 有没有一种方法可以在VS 2017中进行基本的Web项目? I'd like to stick with Visual Studio since it is the IDE we use for our other projects.
我想坚持使用Visual Studio,因为它是我们用于其他项目的IDE。
All help is appreciated. 感谢所有帮助。
If you are going to work on Angular I will suggest you to use visual studio code. 如果要使用Angular,我建议您使用Visual Studio代码。 To create a basic structure of an angular app use angular-cli.
要创建角度应用程序的基本结构,请使用angular-cli。 First you need to install angular cli.
首先,您需要安装angular cli。 Follow this link to install cli : https://github.com/angular/angular-cli
按照此链接安装cli: https : //github.com/angular/angular-cli
Hope it will help 希望对你有帮助
The easiest way to create a new Angular project is to use Angular CLI it builds the skeleton of the project including build/ transpilation tools. 创建新Angular项目的最简单方法是使用Angular CLI,它可以构建项目的框架,包括构建/编译工具。 It will create a lot of the boiler-plate code for you too, eg adding a new module can be done from the cli.
它也会为您创建很多样板代码,例如,可以从cli中添加新模块。
I'd suggest looking at other IDEs such as Sublime Text, VS code etc. but if you must integrate with VS 2017, there are resources available, such as angular cli and vs2017 . 我建议您查看其他IDE,例如Sublime Text,VS代码等,但是如果您必须与VS 2017集成,则可以使用一些资源,例如angular cli和vs2017 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.