node.js - Do I run '''grunt build''' after installing a bower component -


i'm pretty new grunt & npm etc i'll explain question best can.

i've got local wordpress project running foundationpress theme. have grunt running etc.

i have installed foundation datepicker via 'bower'. terminal looks went , foundation datepicker files in bower_components/ folder.

however i'm not sure if should changing directory bower_components/foundation-datepicker/ folder , running 'grunt build' command in directory "install" datepicker? folder have gruntfile.js in it.

after installing foundation datepicker did run 'grunt build', in theme folder, don't know if of picked newly downloaded foundation datepicker , installed/built too.

it on github page towards bottom should 'grunt build'. please see here again: https://github.com/najlepsiwebdesigner/foundation-datepicker

thanks guys.

daniel.

i can't see .bowerrc file in project

in .bowerrc file, should have path bower_components/folder want or bower_components/foundation-datepicker/folder

probable solution - make file named .bowerrc @ root level , put path there

{ "directory" : "js" //according present "foundation-datepicker.js" file location }


Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -

Nuget pack csproj using nuspec -