You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,13 +22,13 @@ Web Components are now implemented natively on Safari and Chrome (~70% of instal
22
22
23
23
* Runs in all [supported](#supported-browsers) browsers: [StackBlitz](https://stackblitz.com/edit/polymer-element-example?file=index.js), [Glitch](https://glitch.com/edit/#!/polymer-element-example?path=index.html)
24
24
25
-
* Runs in browsers with [Javascript Modules](https://caniuse.com/#search=modules): [JSBin](https://jsbin.com/wuxejiz/edit?html,output),
25
+
* Runs in browsers with [JavaScript Modules](https://caniuse.com/#search=modules): [JSBin](https://jsbin.com/wuxejiz/edit?html,output),
* You can also save [this HTML](https://v-gist-githubusercontent-com.jerryabc.cn/kevinpschaaf/8a5acbea7b25d2bb5e82eeea2b105669/raw/c3a86872f07603e2d0ddae736687e52a5c8c499f/index.html) to a local file and run it in any browser that supports [Javascript Modules]((https://caniuse.com/#search=modules)).
28
+
* You can also save [this HTML file](https://v-gist-githubusercontent-com.jerryabc.cn/kevinpschaaf/8a5acbea7b25d2bb5e82eeea2b105669/raw/c3a86872f07603e2d0ddae736687e52a5c8c499f/index.html) to a local file and run it in any browser that supports [JavaScript Modules]((https://caniuse.com/#search=modules)).
29
29
30
-
* When you're ready to use Polymer in a project, install it via npm. To run the project in the browser,
31
-
a module-compatible toolchain is required. We recommend installing the Polymer CLI to and using its development server as follows.
30
+
* When you're ready to use Polymer in a project, install it via [npm](https://www.npmjs.com/). To run the project in the browser,
31
+
a module-compatible toolchain is required. We recommend installing the [Polymer CLI](https://github.com/Polymer/polymer-cli) to and using its development server as follows.
32
32
33
33
1. Add Polymer to your project:
34
34
@@ -44,8 +44,8 @@ Web Components are now implemented natively on Safari and Chrome (~70% of instal
44
44
45
45
```polymer serve```
46
46
47
-
> Polymer 3.0 is published on [npm](https://www.npmjs.com/package/@polymer/polymer) using Javascript Modules.
48
-
This means it can take advantage of the standard native Javascript module loader available in all current major browsers.
47
+
> Polymer 3.0 is published on [npm](https://www.npmjs.com/package/@polymer/polymer) using JavaScript Modules.
48
+
This means it can take advantage of the standard native JavaScript module loader available in all current major browsers.
49
49
>
50
50
> However, since Polymer uses npm conventions to reference dependencies by name, a light transform to rewrite specifiers to URLs is required to run in the browser. The polymer-cli's development server `polymer serve`, as well as `polymer build` (for building an optimized app for deployment) automatically handles this transform.
0 commit comments