| OLD | NEW |
| 1 Develop Polymer Web Components | 1 Develop Polymer Web Components |
| 2 ============================== | 2 ============================== |
| 3 | 3 |
| 4 Components should be built into files before deploy to production. Currently | 4 Components should be built into files before deploy to production. Currently |
| 5 there are two files needed in production: stats-app-build.html and | 5 there are two files needed in production: stats-app-build.html and |
| 6 stats-overview-build.html. To generate them see the 'Build' section. | 6 stats-overview-build.html. To generate them see the 'Build' section. |
| 7 | 7 |
| 8 | 8 |
| 9 Setup | 9 Setup |
| 10 ----- | 10 ----- |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 $ vulcanize --inline --csp -o stats-app-build.html stats-app.html | 24 $ vulcanize --inline --csp -o stats-app-build.html stats-app.html |
| 25 $ vulcanize --inline --csp -o stats-overview-build.html stats-overview.html | 25 $ vulcanize --inline --csp -o stats-overview-build.html stats-overview.html |
| 26 | 26 |
| 27 | 27 |
| 28 Using non-vulcanized files | 28 Using non-vulcanized files |
| 29 -------------------------- | 29 -------------------------- |
| 30 | 30 |
| 31 To develop locally, install Polymer and change the import statement in root.html | 31 To develop locally, install Polymer and change the import statement in root.html |
| 32 and stats.html from stats-app-build.html to stats-app.html, and from | 32 and stats.html from stats-app-build.html to stats-app.html, and from |
| 33 stats-overview-build.html to stats-overview.html. | 33 stats-overview-build.html to stats-overview.html. |
| OLD | NEW |