Visual Studio 2017 Angular 4 Templates
Asked Answered
B

4

8

I am looking for a good Angular 4 template for Visual Studio 2017. Or what is the best template to use and the way to proceed? This will be for a Angular 4 SPA web page.

Bolen answered 18/5, 2017 at 15:56 Comment(0)
D
17

SPA templates have now been updated for Angular4. You can follow this article.

Downcast answered 21/5, 2017 at 10:37 Comment(0)
S
3

For a barebones Template, independent of backend, and for an overall nice tool to help with Angular 2+ development, look into the Angular CLI, as was mentioned in a comment by Vahx.

Specifically for an app starter template, the ng new command does the following:

The Angular CLI makes it easy to create an application that already works, right out of the box. It already follows our best practices!

Once you have a new app, you can then further quickly generate some additional boilerplate / templated code as you progress in development, via the ng generate command:

Generate components, routes, services and pipes with a simple command. The CLI will also create simple test shells for all of these.

Check out the Angular CLI Docs page and the main Angular Getting Started Tutorial, for further info.

Although this is not a Visual Studio specific template, it is an option to consider.

Sayer answered 16/11, 2017 at 23:33 Comment(0)
S
2

If you are looking for a more robust template, I found that the Emonney QuickApp template has some nice features, including login, REST API, EF, boostrap and webpack setup already.

Getting it going wasn't too difficult, just make sure you read the installation notes on their documentation page.

Sayer answered 16/11, 2017 at 23:40 Comment(1)
Thanks for the Emonney link. It's now updated to AspNet Core 2.2 and Angular 8.Hosea
K
0

Video instructs installing SPA templates for .NET Core project from here. It installs different kind of templates like Angular, Knockout, Vue...etc

Kneepan answered 2/10, 2017 at 10:17 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.