2 ms·
Has anyone got a decent solution for combining Foundation and RequireJS?
by antihero 14y ago
Has anyone got a decent solution for combining Foundation and RequireJS?
- nilliams 14y agoI would guess the same as any other library. If it doesn't support AMD, shim it? http://requirejs.org/docs/api.html#config-shim http://requirejs.org/docs/api.html#config-shim I can go into specifics if you give an example of the dependency structure you're trying to define. But the basic case I suppose would just be to shim foundation.min.js to depend on jquery.