Open edeustace opened 8 years ago
One option would be to serve the server's assets and the demo's assets from the same path.. eg we could have demo/components/*
first look in the demo's bower_components
dir then fallback to serve-pie's
bower_components
dir.
We'd have to update demo/page/index.js
to serve up assets from demo/*
.
When we launch the server we add
control-panel
as a dependency to the demo. We need to to this because you can only loadpolymer
once into a page.This makes it unclear to someone developing
serve-pie
what's happening, and really thecontrol-panel
is a dependency of the server not the demo.