After creating a subtheme, the task to copy the bower files is not in the Gruntfile.js. Also, grunt-contrib-copy is missing from package.json. I see the plugin dependency and the task are both set in the zurb_foundation package.json and Gruntfile.js files, respectively.
The dependency and task just need to be added to the STARTER files.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | zurb_foundation-grunt-copy-starter-2446871-1.patch | 1.26 KB | shadybar |
Comments
Comment #1
shadybar commentedHere is a patch to update the STARTER package.json and Gruntfile.js files.
Comment #2
kevinquillen commentedCorrect me if I'm wrong, but is it still necessary?
http://cgit.drupalcode.org/zurb-foundation/tree/STARTER/scss/STARTER.scs...
http://cgit.drupalcode.org/zurb-foundation/tree/STARTER/Gruntfile.js?h=7...
The STARTER.scss references these core assets in the parent zurb_foundation theme. When you run bower update from the zurb_foundation folder, those assets are replaced, and that should trigger a Grunt rebuild in your subtheme.
Comment #3
nmillin commentedI think I found the answer. Changing status to have another person look at issue and changing component to better specify the issue.
I wanted to update to the latest zurb_foundation version (5.5.1 instead of 5.5.0 that the theme ships with). To do this:
bower update- new folder (bower_components) is download, but .gitignoredgrunt- copies code in bower_components to the correct folders (css, scss, js)grunt- complies new parent theme code (css, js)