Polymer / polymer-starter-kit

A starting point for Polymer apps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PSK jumps straight into a polymer element instead of having static html/css first.

davidmaxwaterman opened this issue · comments

The psk as installed by polymer init's polymer-2-starter-kit option does not implement the enough of the 'P' in PRPL.

IMO, it would be better if the index.html only includes minimal static html/css to get the first screen up and running, and loads polymer/etc when that page has been displayed; and fades out the static html/css to be replaced with the my-app when it is upgraded.

At the moment, it does a fair bit of stuff that doesn't need to be done on the first page, eg: loads and runs webcomponents-loader.js, imports my-app.html and any of its imports, and runs their javascript too...

I suspect this sort of change has implications for other aspects of the PSK (eg polymer.json?).