-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
To make #17 possible, as well as to make future integration of other rendering engines like Jade easier, I'm going to isolate the html files into a views folder. This will result in angularJS views being moved into a partials subfolder, and index.html moved into views. App structure will be like this
- app
- scripts
- styles
- views
- partials
- index.html
And grunt build/grunt server:dist tasks will now build these folders in the root:
- public
- views
The views folder in the root will be the minified production ready views.
This will be a breaking change if you have an existing project that you need to use yo angular-fullstack:view or yo angular-fullstack:route on. If you have a project that needs those generators I'd suggest using the generator-angular version of those sub generators, yo angular:view, yo angular:route since they are exactly the same.
I think this is a necessary change because being able to use server rendering engines is an important feature to have.