Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(app): Move all html files into views folder #18

Closed
DaftMonk opened this issue Nov 21, 2013 · 0 comments
Closed

feat(app): Move all html files into views folder #18

DaftMonk opened this issue Nov 21, 2013 · 0 comments

Comments

@DaftMonk
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant