Components: 'md-sidenav-container' is not a known element:

Created on 19 Dec 2016  路  6Comments  路  Source: angular/components

Bug, feature request, or proposal:

'md-sidenav-container' is not a known element:

What is the expected behavior?

View a side nav, using md-sidenav-container

What is the current behavior?

error: 'md-sidenav-container' is not a known element:

What are the steps to reproduce?

replace md-sidenav-layout with md-sidenav-container

Providing a Plunker (or similar) is the best way to get the team to see your issue.
Plunker template: http://plnkr.co/edit/S33OfZpzdz4r0fvA2fgF?p=preview

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

documentation says md-sidenav-layout is deprecated

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

2.0.0-alpha.11-3

Is there anything else we should know?

Most helpful comment

The documentation also appears to be ahead of the released package in the various dialog containers, as well as md-input-container.

All 6 comments

@axtlotic It looks like this didn't end up in the release. No message in the Changelog. Also looking at the code after fresh npm install of version 2.0.0-alpha.11-3 and there md-sidenav-layout is used. So for now I think you can't use md-sidenav-container and you should stick to the old md-sidenav-layout.

The documentation also appears to be ahead of the released package in the various dialog containers, as well as md-input-container.

the documentation you see in this repo is obviously from master, if you want docs for whatever is currently released, browse files at that point https://github.com/angular/material2/tree/0a9ba8bf9230ceb21ee76aa4828d62f7bcdf107b

Right, and I think the docs being kept up-to-date is awesome, but if you look at it from the perspective of someone who followed a link from the README on the main page, it may be a little confusing. Note that even if you go to the README from the document at the point in time you link to and follow any of the links to the components, you end up on master again.

Now that beta is out, this shouldn't be an issue anymore.

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._

Was this page helpful?
0 / 5 - 0 ratings

Related issues

xtianus79 picture xtianus79  路  3Comments

LoganDupont picture LoganDupont  路  3Comments

julianobrasil picture julianobrasil  路  3Comments

Hiblton picture Hiblton  路  3Comments

savaryt picture savaryt  路  3Comments