Closed judasane closed 6 years ago
This has little do with Materialize itself as this stepper requires jQuery as a dependency. I was able to get it to work with the new framework without much trouble. Give it a try!
Can you please elaborate the solution? I am trying:
var materializeStepper = require("materialize-stepper")
And receiving a error message:
Uncaught ReferenceError: $ is not defined at Object.require.materialize-stepper (vendor.js:153102)
You aren't including jQuery which is a dependency for stepper.
Yes i am:
const $ = require('jquery'); require('materialize-css'); var materializeStepper = require("materialize-stepper");
I am using Browserify + Gulp.
Thanks for your time, buddy.
Will have to look at that later but try directly linking (or CDNs) in the html for now? @agrorural @marcialsoto
Same output.
Using: https://www.jsdelivr.com/package/npm/materialize-stepper
@agrorural can you setup an example page on Github or somewhere?
The new Materialize versions allows to use the framework without JQuery.
It is a shame that we cannot use this stepper that way