Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Only include modules from Angular Material that I need

I'm using the module $mdDialog from Angular Material but I don't need the full library. Is it possible to only include the modules that I need in the project, and how can I do that? I have installed Angular Material with Bower and using Gulp in my project.

like image 708
user1149117 Avatar asked Aug 05 '16 08:08

user1149117


1 Answers

Soon Angular Material will turn into v1.1.0 as a major release.

As an addition the material-tools repository will be announced.

Material Tools allows developers to build a custom Angular Material build with the most necessary components.

It also can build precompiled theme stylesheets, which improves the performance significantly.

Material Tools is already available, but still in beta.

https://github.com/angular/material-tools

like image 183
DevVersion Avatar answered Oct 05 '22 02:10

DevVersion