Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

material template instead of ng-template warnings + require peer dependencies warnings #3632

Closed
stefanaerts opened this issue Mar 16, 2017 · 5 comments

Comments

@stefanaerts
Copy link

Bug, feature request, or proposal:

What is the expected behavior?

What is the current behavior?

What are the steps to reproduce?

Providing a Plunker (or similar) is the best way to get the team to see your issue.
Plunker template: https://goo.gl/DlHd6U

What is the use-case or motivation for changing an existing behavior?

angular version ^4.0.0-rc.3 + material ^2.0.0-beta.2
gives warnings.I included BrowserAnimationsModule but that did'nt help

Which versions of Angular, Material, OS, browsers are affected?

angular version ^4.0.0-rc.3 + material ^2.0.0-beta.2

Is there anything else we should know?

image

image

image

What must i do to avoid these template warnings?

@derchirurg
Copy link

Angular2 Material is made for Angular2, not the new Angular 4 (RC). The template tag is deprecated and should not be used anymore, but it seems Angular2 Material is using it.
Change Angular version to 2 and it should work.

@stefanaerts
Copy link
Author

Ok,So if i want to use angular4 ,what are my best options for material design?

@derchirurg
Copy link

I don't know. I didn't give Angular 4 a try.

@crisbeto
Copy link
Member

You can keep an eye on #3608. When it gets merged, Material should work with Angular 4.

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants