I want to view this demo of Polymerfire in my browser。如何使用Polymer的`聚合物服務'polyserve服務器查看Polymerfire演示?
我希望看到演示在我的瀏覽器中運行。相反,我看到一個空白頁面和以下控制檯錯誤。
console.log.error.messageGET http://localhost:8080/ 404(未找到)
導航到http://localhost:8080/
我使用了以下過程:
- I installed the Polymer-CLI multi-tool per the instructions found here。
- I created a project using the Polymer Starter Kit (PSK)。
- 我將項目命名爲
my-app
。 - 我安裝在這裏找到使用CLI GitHub的回購:
bower install ---save firebase/polymerfire
- 我打開終端並導航到應用程序的根目錄。
cd path/to/my-app
- I ran the following Polymer-CLI command (per the instructions found here)。
polymer serve
我能做些什麼,試圖解決這個問題,所以我可以看到我的瀏覽器演示運行?