materialize-tabs is standalone the tabs component taken from materialize-css. It’s dependent only on jQuery.
$ npm install materialize-tabs
Use with browserify as,
require(‘materialize-tabs’);// This will attach tabs to jQuery// You do not need to declare jQuery as a global
For direct use in a browser,
This includes jQuery as well.
If jQuery is already present, use,
Make sure you include jQuery before including tabs.js
For calling the api, refer http://materializecss.com/tabs.html