yeoman split angular app by modules
Asked Answered
T

1

8

I'd like to know if possible to separate a yeoman app by modules (like MEANJS generator) basically with the following structure:

  • Module 1
    • views
    • controllers
    • services
    • css
    • config
    • module1.js
  • Module 2
    • views
    • controllers
    • services
    • css
    • config
    • module1.js
  • Module 3

    • etc
    • etc
    • same structure
  • App.js

For me is more convenient to do it this way and the official angular generator doesn't support that structure

is there any way to accomplish that with an existing yeoman generator?

Tolbutamide answered 27/5, 2014 at 0:33 Comment(0)
P
10

Maybe this generator will do the trick? https://www.npmjs.org/package/generator-cg-angular

It follows the Angular Best Practice Guidelines for Project Structure and allows you to create submodules with their own directories.

Palpitant answered 27/5, 2014 at 3:14 Comment(1)
Another alternative is github.com/DaftMonk/generator-angular-fullstack which is essentially using a MEAN stack and follows the Google app structure guidelinesPalpitant

© 2022 - 2024 — McMap. All rights reserved.