Active
Project:
ZURB Foundation
Version:
7.x-5.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
10 Jul 2014 at 16:09 UTC
Updated:
23 Feb 2016 at 20:32 UTC
Jump to comment: Most recent
Hi - Thanks for the update it is something I have been waiting on!
Can you please explain the best method to use to update my subtheme?
Thanks
Comments
Comment #1
leovw commentedComment #2
kevinquillen commentedThe quickest way I have found to get caught up with an existing subtheme is the following:
- Delete all scripts under js/foundation in your theme
- Delete all under scss/foundation/components in your theme
- Run bower update in terminal
- Run grunt
Grunt should copy the files to their correct places.
Comment #3
kevinquillen commentedThe quickest way I have found to get caught up with an existing subtheme is the following:
- Delete all scripts under js/foundation in your theme
- Delete all under scss/foundation/components in your theme
- Run bower update in terminal
- Run grunt
Grunt should copy the files to their correct places.
Comment #4
aanjaneyam commentedBut I see that there are changes in files other than js/foundation and scss/foundation/components in STARTER folder. Will grunt copy them too? A little bit more explanation on the process will be extremely helpful. I have to update the subtheme on a live site. Off course I will first test it on dev server.
Comment #5
kevinquillen commentedWorking on docs as we speak. Things are moving pretty fast all around.
Comment #6
ladybug_3777 commentedThis is a good question because when an upgrade (or patch) modifies the STARTER folder, those changes wouldn't exist in our already created subthemes that used that STARTER as it's base. The release notes also do not always contain the detail of what exactly what changed so it's tough to sort through sometimes.
Love version 5, but upgrading is always a bit scarey because I'm afraid I'm going to miss something in my subtheme.
Comment #7
shadysamir commentedWhat about template files in STARTER and other non-foundation (theme specific) files in STARTER?
Comment #8
shauntyndall commentedComment #9
ladybug_3777 commentedAny update available on this? I have a few sites I'd really like to upgrade the base Zurb theme for, but I'm concerned about how I will alter my custom theme (which was developed from an older version STARTER) to ensure things don't break.
Anyone have a general process they follow for this? Or maybe a list of files they always replace in their custom theme when upgrading?