trenpixster / addict

User management lib for Phoenix Framework
MIT License
645 stars 99 forks source link

Assets path #71

Closed AvaelKross closed 8 years ago

AvaelKross commented 8 years ago

And again it's me who is not familiar with Phoenix :)

I'm wondering why addict's generator puts css/js files right in priv/static/{css,js} ? As far as I can see, this folder is mentioned in .gitignore for many projects. Say if I'm cooperating with my friend via git, only one of us will have assets files by default. It doesn't seem to be a correct behavior, but maybe I'm wrong about something.

trenpixster commented 8 years ago

Hey @AvaelKross! Are you referring to this type of use case? I usually create projects without brunch. Where would you propose to have those files instead? Maybe hardcoding the assets into the base view is the way to go in order to be completely independent from the Front End requirements of each project.

Keep 'em coming 😄