does anyone know how I can make angular-material work?

0

I downloaded it from the nuget but apparently it does not work, someone could give me advice. What angled versions should I have? I have refereciadas all in layout angular references angular-material.js angular.min.js angular-messages.js angular-material.css angular-aria.js

thanks for the help

    
asked by Alex 21.05.2018 в 15:21
source

1 answer

0

You go to your project and through the angular cli you do a npm install -s @ angular / material @ angular / cdk. Then you have to import the material angular module that you want to occupy, for example if you want to work with the buttons in the app.module you write. import {MatButtonModule} from '@ angular / material / button'; And you put it in your imports. Remember that some modules of material require to have installed the animations so it also installs the animations npm install --save @ angular / animations And in the app module it imports the browserAnimationsModule. For more information visit the documentation there comes all very well explained link Greetings.

    
answered by 21.05.2018 в 15:59