Skip to content
This repository was archived by the owner on Jan 4, 2021. It is now read-only.

Commit 30512a1

Browse files
committed
[DOCS] Update webcomponents polyfill path
1 parent 77a160d commit 30512a1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ npm install myscript-text-web
7373

7474
```html
7575
<script type="module" href="node_modules/myscript-text-web/myscript-text-web.js"></script>
76-
<script src="node_modules/webcomponentsjs/webcomponents-loader.js"></script>
76+
<script src="node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script>
7777
```
7878

7979
3. Still in the `head` section, add the following style:
@@ -101,7 +101,7 @@ npm install myscript-text-web
101101
<html>
102102
<head>
103103
<script type="module" href="node_modules/myscript-text-web/myscript-text-web.js"></script>
104-
<script src="node_modules/webcomponentsjs/webcomponents-loader.js"></script>
104+
<script src="node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script>
105105
<style>
106106
myscript-text-web {
107107
height: 100vw;

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"dependencies": {
2525
"@polymer/polymer": "^3.0.0-pre.13",
2626
"myscript-common-element": "github:myscript/myscript-common-element#wip-polymer-3",
27+
"@polymer/paper-toast": "^3.0.0-pre.19",
2728
"@webcomponents/webcomponentsjs": "^2.0.0"
2829
},
2930
"devDependencies": {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy