Menu icon Foundation
F4 -> F5 Migration

Hi

Does anybody have a complete step-by-step guide to migrate an existing F4 project (installed with compass, using sass) to F5? Unfortunatly, the docs only describes the js-part.

Is a migration even possible without touching to many of the code? What is the best way to do this?

Thanks,
Frank

upgradeinstall

Hi

Does anybody have a complete step-by-step guide to migrate an existing F4 project (installed with compass, using sass) to F5? Unfortunatly, the docs only describes the js-part.

Is a migration even possible without touching to many of the code? What is the best way to do this?

Thanks,
Frank

Harry Goldman over 5 years ago

I followed the "brief" docs on the migration on a simple test page and the $(document).foundation() errors with "foundation" not a function. Yes, I have included jQ 2.0.0 followed by the foundation.mis.js.

I also saw, https://github.com/zurb/foundation-migrate/blob/master/README.md, but this did not help (or I was not including it correctly... but I followed the docs)

HELP!

Thanks

Harry Goldman over 5 years ago

After a lot more hacking, more digging and trials, I saw where the $(document).foundation() needs to be at the end, just before the close body tag.

Changed the code and ..... it worked!

I guess $(document).ready is not truly after the dom loaded... unless you have this at the end of the body. ugh!

Well, after clearing cache, and doing more testing..... this is NOT the solution. The problem still exists. HELP!!