How to implement Material Design in ionic?


#1

i saw some message that it is integrated - well, not fully;
i have been trying to use (from: https://material.angular.io/components/input/overview):

<md-input-container> 

with some hint properties. but ionic doesn’t know it.

does anyone knows how to implementthe Material Design?

tnx,


#2

First of all you have to install it ( the npm package ) :slight_smile:

https://material.angular.io/guide/getting-started

Then add it on the module and lets start using angular material tags.


#3

well…tried but(havn’t found goo solution on google):

Typescript Error
Module '"C:/ionic/myDokopoint/node_modules/@angular/core/core"' has no exported member 'ɵReflectorReader'.
...:/ionic/myDokopoint/node_modules/@angular/compiler/src/aot/static_reflector.d.ts
 * templates statically.
 */
export declare class StaticReflector implements ɵReflectorReader {
Typescript Error
Module '"C:/ionic/myDokopoint/node_modules/@angular/core/core"' has no exported member 'ɵLifecycleHooks'.
C:/ionic/myDokopoint/node_modules/@angular/compiler/src/compile_metadata.d.ts
}
export declare abstract class CompileAnimationStateMetadata {
}