Created
August 4, 2017 16:16
-
-
Save ybouhjira/1b77b42f1d20f668f57b2e9b93884a90 to your computer and use it in GitHub Desktop.
Use Zurb Foundation with browserify
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import $ from 'jquery'; | |
import {Foundation} from 'foundation-sites/js/foundation.core'; | |
import {OffCanvas} from 'foundation-sites/js/foundation.offcanvas'; | |
import {Reveal} from 'foundation-sites/js/foundation.reveal'; | |
Foundation.plugin(OffCanvas, 'OffCanvas'); | |
Foundation.plugin(Reveal, 'Reveal'); | |
Foundation.addToJquery($); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment