diff --git a/README.md b/README.md index 8546025..5a98285 100644 --- a/README.md +++ b/README.md @@ -191,17 +191,20 @@ module.exports = { //... plugins: [ new ProvidePlugin({ - $: "jquery", - jQuery: "jquery", "window.jQuery": "jquery", - Hammer: "hammerjs/hammer", - Materialize: "materialize-css" + Hammer: "hammerjs/hammer" }) ] //... }; ``` +Import MaterializeCSS programatically, in the same place where you import angular2-materialize module (usually in your main module, or shared module): +```js +import 'materialize-css'; +import { MaterializeModule } from 'angular2-materialize'; +``` + #### Loading additional resources Another thing you would need to confirm is being able to load web fonts properly: