Nikhil
Nikhil

Reputation: 3950

Angular 2 project structure

Instead of every time doing ng new project_name what is the alternative to getting the project structure. what if I do have node modules folder downloaded and creating the e2e and project structure thereafter. Or I just have another alternative to it like a fully new project structure downloaded once and use anywhere and every time.

Upvotes: 2

Views: 509

Answers (4)

Muhammed Albarmavi
Muhammed Albarmavi

Reputation: 24414

This article explane a good practies about angular project structue from how you can divied you components , pages , modules

https://medium.com/@motcowley/angular-folder-structure-d1809be95542

right now the best way to create angular project is to use angular cli , before there is a lot of people during the early version of angular the create seed project you can look to son example

Upvotes: 0

Junior Gantin
Junior Gantin

Reputation: 2192

You can use generator-ngx-rocket. It's a extensible Angular 5+ enterprise-grade project generator.
Hope I help!

Upvotes: 0

user4676340
user4676340

Reputation:

You will find your answer in their blog, under the schematics article :

Angular Schematics

That's basically a way to create default projects that you will be able to reuse in other projects.

Upvotes: 0

Alexandra Damaschin
Alexandra Damaschin

Reputation: 840

I would say to spend some time and read the documentation :

https://angular.io/guide/architecture

It will help you to clarify all your questions.

Upvotes: 2

Related Questions