From f9bb50d6adae2602740f4e60d3af6e77644465be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Abd=C3=B3n=20Rodr=C3=ADguez=20Davila?= Date: Thu, 12 Jan 2017 20:43:02 +0100 Subject: [PATCH] Update README (#957) --- README.md | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index d5f3b15df..3bff7938b 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,8 @@ The PRPL pattern, in a nutshell: ##### Prerequisites -Install [polymer-cli](https://github.com/Polymer/polymer-cli): +First, install [Polymer CLI](https://github.com/Polymer/polymer-cli) using +[npm](https://www.npmjs.com) (we assume you have pre-installed [node.js](https://nodejs.org)). npm install -g polymer-cli @@ -43,7 +44,6 @@ routing for the app: polymer serve --open - ### Build This command performs HTML, CSS, and JS minification on the application @@ -72,17 +72,16 @@ generated using fragment bundling: ### Run tests -This command will run -[Web Component Tester](https://github.com/Polymer/web-component-tester) against the -browsers currently installed on your machine. +This command will run [Web Component Tester](https://github.com/Polymer/web-component-tester) +against the browsers currently installed on your machine: polymer test ### Adding a new view You can extend the app by adding more views that will be demand-loaded -e.g. based on the route, or to progressively render non-critical sections -of the application. Each new demand-loaded fragment should be added to the -list of `fragments` in the included `polymer.json` file. This will ensure -those components and their dependencies are added to the list of pre-cached -components (and will have bundles created in the fallback `bundled` build). \ No newline at end of file +e.g. based on the route, or to progressively render non-critical sections of the +application. Each new demand-loaded fragment should be added to the list of +`fragments` in the included `polymer.json` file. This will ensure those +components and their dependencies are added to the list of pre-cached components +and will be included in the `bundled` build.