How do I add a dependency to my Yeoman project when there is no generator -


what steps need in order add new dependency library yeoman project. example, if wanted add sammy.js or angularui. don't see generator either of have manually add them. other files need edit project builds , runs correctly?

below of generators searched for

npm search yeoman-generator | grep sammy npm search yeoman-generator | grep angular-ui npm search yeoman-generator | grep angularui 

you want install things angular ui using bower part of yeoman workflow along grunt.

both of packages exist in bower registry:

$ bower search sammy search results:      sammy git://github.com/quirkey/sammy.git $ bower search angular-ui search results:      angular-ui git://github.com/angular-ui/angular-ui.git     angular-ui-bootstrap-bower git://github.com/angular-ui/bootstrap-bower     angular-ui-bootstrap git://github.com/angular-ui/bootstrap.git     angular-ui-router git://github.com/angular-ui/ui-router     angular-ui-utils git://github.com/angular-ui/ui-utils.git     angular-ui-select2 git://github.com/angular-ui/ui-select2.git     angular-ui-date git://github.com/angular-ui/ui-date.git     angular-ui-calendar git://github.com/angular-ui/ui-calendar.git     angular-ui-codemirror git://github.com/angular-ui/ui-codemirror.git     angular-ui-ace git://github.com/angular-ui/ui-ace.git     angular-ui-multi-sortable git://github.com/mostr/angular-ui-multi-sortable.git     angular-ui-map git://github.com/angular-ui/ui-map.git 

there's quick example on 'getting started' page linked above, on using yeoman, bower , grunt scaffold out angular project using angularui. including here convenience:

yo angular bower install angular-ui # add <script src="components/angular-ui/build/angular-ui.js"></script> # , <link rel="stylesheet" href="components/angular-ui/build/angular-ui.css"/> grunt 

Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -