Polymer / pwa-starter-kit

Starter templates for building full-featured Progressive Web Apps from web components.
https://pwa-starter-kit.polymer-project.org
2.36k stars 431 forks source link

Replace app-layout in template-responsive-drawer-layout with something lightweight #209

Closed mercmobily closed 6 years ago

mercmobily commented 6 years ago

Hi,

I would like to use template-responsive-drawer-layout and the new material elements. What puts me off, is that it bloats the end results with Polymer (as well as iron-flex-layout iron-media-query iron-resizable-behavior iron-scroll-target-behavior).

Can app-layout be swapped with something lightweight without dependencies?

frankiefu commented 6 years ago

The plan is to replace Polymer 3 elements (e.g. header, drawer) with the next-gen/MWC elements. Unfortunately we are not there yet. That is the last remaining TODO in PWA starter kit. There are already some elements in the MWC repo and the team is working on getting the remaining ones done. Unfortunately I don't have a solid timeline when the next-gen successors will be available but it's very high on the priority list.

mercmobily commented 6 years ago

I didn't think the MWC elements had layout elements too, and I didn't think the material specs covered draws etc...

JosefJezek commented 6 years ago

@mercmobily https://github.com/material-components/material-components-web/tree/master/packages/mdc-drawer

mercmobily commented 6 years ago

Ah things I didn't know...

frankiefu commented 6 years ago

Closing this in favor of https://github.com/Polymer/pwa-starter-kit/issues/220