Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

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

Open
davidmaxwaterman opened this issue Aug 11, 2017 · 0 comments

Comments

@davidmaxwaterman
Copy link
Contributor

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?).

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

1 participant