toddmotto / angularjs-styleguide

AngularJS styleguide for teams
https://ultimateangular.com
5.96k stars 700 forks source link

Where are the third party angular library located in the folder structure #131

Closed LukasChen closed 8 years ago

LukasChen commented 8 years ago

Where are the third party angular library located in the folder structure in this styleguide?

noderat commented 8 years ago

You'd usually find 3rd party libraries as dependencies listed in your package.json and thus in the node_modules directory.

toddmotto commented 8 years ago

Yeah, you can reference the 1.5 component based app (in the readme of this repo too) and dig through how it uses node_modules to compile/concat: https://github.com/toddmotto/angular-1-5-components-app/blob/master/gulpfile.babel.js#L28-L33

LukasChen commented 8 years ago

But what if the third party library is not listed in npm yet?

floriangosse commented 8 years ago

You should try to use dependencies via npm. If it is not possible you could add a folder vendor/ next to app/.