简体   繁体   English

VS 2017基本Web项目模板

[英]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.

相关问题 在VS12中的Web应用程序项目中使用网站模板 - Use a website template in my web application project in VS12 用 Vue、TS 和 nodeJS 创建一个基本的项目模板? - Creating a basic project template with Vue, TS, and nodeJS? 如何使用vs2017rc创建Aurelia打字稿项目 - How to create aurelia typescript project with vs2017rc VS Web应用程序项目没有框架/ DLL? - VS Web Application project with no framework/DLL? Asp Core +Angular 4 +VS 2017,从 webpack 模板转移到别的东西 - Asp Core +Angular 4 +VS 2017,moving from webpack template to something else 在VS 2017中为一个项目禁用ESLint / CSSLint / Javascript验证/ CSS验证 - Disable ESLint / CSSLint / Javascript validation / CSS validation for one project in VS 2017 在没有 tsconfig.json 全局项目级别的情况下,打字稿文件在 vs2017 中自动创建 Javascript - Typescript file auto create Javascript in vs2017 without tsconfig.json globally project level VS2017 如何在 windows 手机模拟器上调试 uwp 托管的 web 应用程序 - VS2017 How to debug uwp hosted web app on windows phone emulator ECMAScript 2017中的CallExpression与NewExpression - CallExpression vs NewExpression in ECMAScript 2017 VS2017 Javascript智能感知 - VS2017 Javascript Intellisense
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM