How to view the Polymerfire demo using the polymerers polyserver server?

I want to see this Polymerfire demo in my browser .

I expect to see a demo in my browser. Instead, I see a blank page and the following console error.

console.log.error.message

GET http: // localhost: 8080/404 (not found)
Moved to http: // localhost: 8080 /

I used the following procedure:

What can I do to try to solve this problem to see a demo in my browser?

+4
source share
2 answers

The best way to start a demonstration of elements is to check this ...

git clone https://github.com/firebase/polymerfire.git

cd polymerfire

bower install

polymer serve

I never tried to run the demo files from the bower installation folder, but this method will work.

+4
source

You also need to go to the correct path to the local host:
http://localhost:8080/components/polymerfire/demo/

So, the full procedure (from the command line):

-, polymer-cli , .

npm install -g bower
npm install -g polymer-cli

.

shell.sh
git clone https://github.com/firebase/polymerfire.git
cd polymerfire
bower install
polymer serve
open http://localhost:8080/components/polymerfire/demo/
+4

All Articles