Skip to content

Commit

Permalink
chore: remove unpkg nomodule
Browse files Browse the repository at this point in the history
  • Loading branch information
peterpeterparker committed Oct 23, 2020
1 parent fa5339b commit 471eef4
Show file tree
Hide file tree
Showing 64 changed files with 58 additions and 324 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ It's recommended to use [unpkg](https://unpkg.com/) to use the [DeckDeckGo] char

```
<script type="module" src="https://unpkg.com/@deckdeckgo/charts@latest/dist/deckdeckgo-charts/deckdeckgo-charts.esm.js"></script>
<script nomodule="" src="https://unpkg.com/@deckdeckgo/charts@latest/dist/deckdeckgo-charts/deckdeckgo-charts.js"></script>
```

### Install DeckDeckGo charts from NPM
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ It's recommended to use [unpkg](https://unpkg.com/) to use the [DeckDeckGo] lazy

```
<script type="module" src="https://unpkg.com/@deckdeckgo/color@latest/dist/deckdeckgo-color/deckdeckgo-color.esm.js"></script>
<script nomodule="" src="https://unpkg.com/@deckdeckgo/color@latest/dist/deckdeckgo-color/deckdeckgo-color.js"></script>
```

### Install from NPM
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ It's recommended to use [unpkg](https://unpkg.com/) to use the [DeckDeckGo] lazy

```
<script type="module" src="https://unpkg.com/@deckdeckgo/demo@latest/dist/deckdeckgo-demo/deckdeckgo-demo.esm.js"></script>
<script nomodule="" src="https://unpkg.com/@deckdeckgo/demo@latest/dist/deckdeckgo-demo/deckdeckgo-demo.js"></script>
```

### Install from NPM
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ It's recommended to use [unpkg](https://unpkg.com/) to use the [DeckDeckGo] lazy

```
<script type="module" src="https://unpkg.com/@deckdeckgo/drag-resize-rotate@latest/dist/deckdeckgo-drag-resize-rotate/deckdeckgo-drag-resize-rotate.esm.js"></script>
<script nomodule="" src="https://unpkg.com/@deckdeckgo/drag-resize-rotate@latest/dist/deckdeckgo-drag-resize-rotate/deckdeckgo-drag-resize-rotate.js"></script>
```

### Install from NPM
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ It's recommended to use [unpkg](https://unpkg.com/) to use the [DeckDeckGo] Code

```
<script type="module" src="https://unpkg.com/@deckdeckgo/highlight-code@latest/dist/deckdeckgo-highlight-code/deckdeckgo-highlight-code.esm.js"></script>
<script nomodule="" src="https://unpkg.com/@deckdeckgo/highlight-code@latest/dist/deckdeckgo-highlight-code/deckdeckgo-highlight-code.js"></script>
```

### Install DeckDeckGo Highlight Code from NPM
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ It's recommended to use [unpkg](https://unpkg.com/) to use the [DeckDeckGo] inli

```
<script type="module" src="https://unpkg.com/@deckdeckgo/inline-editor@latest/dist/deckdeckgo-inline-editor/deckdeckgo-inline-editor.esm.js"></script>
<script nomodule="" src="https://unpkg.com/@deckdeckgo/inline-editor@latest/dist/deckdeckgo-inline-editor/deckdeckgo-inline-editor.js"></script>
```

### Install from NPM
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ It's recommended to use [unpkg](https://unpkg.com/) to use the [DeckDeckGo] lazy

```
<script type="module" src="https://unpkg.com/@deckdeckgo/lazy-img@latest/dist/deckdeckgo-lazy-img/deckdeckgo-lazy-img.esm.js"></script>
<script nomodule="" src="https://unpkg.com/@deckdeckgo/lazy-img@latest/dist/deckdeckgo-lazy-img/deckdeckgo-lazy-img.js"></script>
```

### Install from NPM
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ It's recommended to use [unpkg](https://unpkg.com/) to use the [DeckDeckGo] lazy

```
<script type="module" src="https://unpkg.com/@deckdeckgo/math@latest/dist/deckdeckgo-math/deckdeckgo-math.esm.js"></script>
<script nomodule="" src="https://unpkg.com/@deckdeckgo/math@latest/dist/deckdeckgo-math/deckdeckgo-math.js"></script>
```

### Install from NPM
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ It's recommended to use [unpkg](https://unpkg.com/) to use the [DeckDeckGo] Code

```
<script type="module" src="https://unpkg.com/@deckdeckgo/qrcode@latest/dist/deckdeckgo-qrcode/deckdeckgo-qrcode.esm.js"></script>
<script nomodule="" src="https://unpkg.com/@deckdeckgo/qrcode@latest/dist/deckdeckgo-qrcode/deckdeckgo-qrcode.js"></script>
```

### Install DeckDeckGo QR Code from NPM
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ It's recommended to use [unpkg](https://unpkg.com/) to use the [DeckDeckGo] soci

```
<script type="module" src="https://unpkg.com/@deckdeckgo/social@latest/dist/deckdeckgo-social/deckdeckgo-social.esm.js"></script>
<script nomodule="" src="https://unpkg.com/@deckdeckgo/social@latest/dist/deckdeckgo-social/deckdeckgo-social.js"></script>
```

### Install from NPM
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ It's recommended to use [unpkg](https://unpkg.com/) to use the [DeckDeckGo] word

```
<script type="module" src="https://unpkg.com/@deckdeckgo/word-cloud@latest/dist/deckdeckgo-word-cloud/deckdeckgo-word-cloud.esm.js"></script>
<script nomodule="" src="https://unpkg.com/browse/@deckdeckgo/word-cloud@latest/dist/deckdeckgo-word-cloud/deckdeckgo-word-cloud.js"></script>
```

### Install from NPM
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ It's recommended to use [unpkg](https://unpkg.com/) to use the [DeckDeckGo] lazy

```
<script type="module" src="https://unpkg.com/@deckdeckgo/youtube@latest/dist/deckdeckgo-youtube/deckdeckgo-youtube.esm.js"></script>
<script nomodule="" src="https://unpkg.com/@deckdeckgo/youtube@latest/dist/deckdeckgo-youtube/deckdeckgo-youtube.js"></script>
```

### Install from NPM
Expand Down
1 change: 0 additions & 1 deletion docs/docs/deck/app-deck-pager/app-deck-pager.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ It's recommended to use [unpkg](https://unpkg.com/) to use the [DeckDeckGo] page

```
<script type="module" src="https://unpkg.com/@deckdeckgo/pager@latest/dist/deckdeckgo-pager/deckdeckgo-pager.esm.js"></script>
<script nomodule="" src="https://unpkg.com/@deckdeckgo/pager@latest/dist/deckdeckgo-pager/deckdeckgo-pager.js"></script>
```

### Install from NPM
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ It's recommended to use [unpkg](https://unpkg.com/) as a CDN for the [DeckDeckGo

```
<script type="module" src="https://unpkg.com/@deckdeckgo/core@latest/dist/deckdeckgo/deckdeckgo.esm.js"></script>
<script nomodule="" src="https://unpkg.com/@deckdeckgo/core@latest/dist/deckdeckgo/deckdeckgo.js"></script>
```

## Install DeckDeckGo from NPM
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ It's recommended to use [unpkg](https://unpkg.com/) if you want to use this temp

```
<script type="module" src="https://unpkg.com/@deckdeckgo/slide-aspect-ratio@latest/dist/deckdeckgo-slide-aspect-ratio/deckdeckgo-slide-aspect-ratio.esm.js"></script>
<script nomodule="" src="https://unpkg.com/@deckdeckgo/slide-aspect-ratio@latest/dist/deckdeckgo-slide-aspect-ratio/deckdeckgo-slide-aspect-ratio.js"></script>
```

### From NPM
Expand Down
1 change: 0 additions & 1 deletion docs/docs/slides/app-slide-author/app-slide-author.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ It's recommended to use [unpkg](https://unpkg.com/) if you want to use this temp

```
<script type="module" src="https://unpkg.com/@deckdeckgo/slide-author@latest/dist/deckdeckgo-slide-author/deckdeckgo-slide-author.esm.js"></script>
<script nomodule="" src="https://unpkg.com/@deckdeckgo/slide-author@latest/dist/deckdeckgo-slide-author/deckdeckgo-slide-author.js"></script>
```

### From NPM
Expand Down
1 change: 0 additions & 1 deletion docs/docs/slides/app-slide-big-img/app-slide-big-img.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ It's recommended to use [unpkg](https://unpkg.com/) if you want to use this temp

```
<script type="module" src="https://unpkg.com/@deckdeckgo/slide-big-img@latest/dist/deckdeckgo-slide-big-img/deckdeckgo-slide-big-img.esm.js"></script>
<script nomodule="" src="https://unpkg.com/@deckdeckgo/slide-big-img@latest/dist/deckdeckgo-slide-big-img/deckdeckgo-slide-big-img.js"></script>
```

### From NPM
Expand Down
1 change: 0 additions & 1 deletion docs/docs/slides/app-slide-chart/app-slide-chart.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ It's recommended to use [unpkg](https://unpkg.com/) if you want to use this temp

```
<script type="module" src="https://unpkg.com/@deckdeckgo/slide-chart@latest/dist/deckdeckgo-slide-chart/deckdeckgo-slide-chart.esm.js"></script>
<script nomodule="" src="https://unpkg.com/@deckdeckgo/slide-chart@latest/dist/deckdeckgo-slide-chart/deckdeckgo-slide-chart.js"></script>
```

### From NPM
Expand Down
1 change: 0 additions & 1 deletion docs/docs/slides/app-slide-code/app-slide-code.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ It's recommended to use [unpkg](https://unpkg.com/) if you want to use this temp

```
<script type="module" src="https://unpkg.com/@deckdeckgo/slide-code@latest/dist/deckdeckgo-slide-code/deckdeckgo-slide-code.esm.js"></script>
<script nomodule="" src="https://unpkg.com/@deckdeckgo/slide-code@latest/dist/deckdeckgo-slide-code/deckdeckgo-slide-code.js"></script>
```

### From NPM
Expand Down
1 change: 0 additions & 1 deletion docs/docs/slides/app-slide-content/app-slide-content.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ It's recommended to use [unpkg](https://unpkg.com/) if you want to use this temp

```
<script type="module" src="https://unpkg.com/@deckdeckgo/slide-content@latest/dist/deckdeckgo-slide-content/deckdeckgo-slide-content.esm.js"></script>
<script nomodule="" src="https://unpkg.com/@deckdeckgo/slide-content@latest/dist/deckdeckgo-slide-content/deckdeckgo-slide-content.js"></script>
```

### From NPM
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ It's recommended to use [unpkg](https://unpkg.com/) if you want to use this temp

```
<script type="module" src="https://unpkg.com/@deckdeckgo/slide-countdown@latest/dist/deckdeckgo-slide-countdown/deckdeckgo-slide-countdown.esm.js"></script>
<script nomodule="" src="https://unpkg.com/@deckdeckgo/slide-countdown@latest/dist/deckdeckgo-slide-countdown/deckdeckgo-slide-countdown.js"></script>
```

### From NPM
Expand Down
1 change: 0 additions & 1 deletion docs/docs/slides/app-slide-gif/app-slide-gif.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ It's recommended to use [unpkg](https://unpkg.com/) if you want to use this temp

```
<script type="module" src="https://unpkg.com/@deckdeckgo/slide-gif@latest/dist/deckdeckgo-slide-gif/deckdeckgo-slide-gif.esm.js"></script>
<script nomodule="" src="https://unpkg.com/@deckdeckgo/slide-gif@latest/dist/deckdeckgo-slide-gif/deckdeckgo-slide-gif.js"></script>
```

### From NPM
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ It's recommended to use [unpkg](https://unpkg.com/) if you want to use this temp

```
<script type="module" src="https://unpkg.com/@deckdeckgo/slide-playground@latest/dist/deckdeckgo-slide-playground/deckdeckgo-slide-playground.esm.js"></script>
<script nomodule="" src="https://unpkg.com/@deckdeckgo/slide-playground@latest/dist/deckdeckgo-slide-playground/deckdeckgo-slide-playground.js"></script>
```

### From NPM
Expand Down
1 change: 0 additions & 1 deletion docs/docs/slides/app-slide-poll/app-slide-poll.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ It's recommended to use [unpkg](https://unpkg.com/) to use this template from a

```
<script type="module" src="https://unpkg.com/@deckdeckgo/slide-poll@latest/dist/deckdeckgo-slide-poll/deckdeckgo-slide-poll.esm.js"></script>
<script nomodule="" src="https://unpkg.com/@deckdeckgo/slide-poll@latest/dist/deckdeckgo-slide-poll/deckdeckgo-slide-poll.js"></script>
```

### From NPM
Expand Down
1 change: 0 additions & 1 deletion docs/docs/slides/app-slide-qrcode/app-slide-qrcode.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ It's recommended to use [unpkg](https://unpkg.com/) if you want to use this temp

```
<script type="module" src="https://unpkg.com/@deckdeckgo/slide-qrcode@latest/dist/deckdeckgo-slide-qrcode/deckdeckgo-slide-qrcode.esm.js"></script>
<script nomodule="" src="https://unpkg.com/@deckdeckgo/slide-qrcode@latest/dist/deckdeckgo-slide-qrcode/deckdeckgo-slide-qrcode.js"></script>
```

### From NPM
Expand Down
1 change: 0 additions & 1 deletion docs/docs/slides/app-slide-split/app-slide-split.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ It's recommended to use [unpkg](https://unpkg.com/) if you want to use this temp

```
<script type="module" src="https://unpkg.com/@deckdeckgo/slide-split@latest/dist/deckdeckgo-slide-split/deckdeckgo-slide-split.esm.js"></script>
<script nomodule="" src="https://unpkg.com/@deckdeckgo/slide-split@latest/dist/deckdeckgo-slide-split/deckdeckgo-slide-split.js"></script>
```

### From NPM
Expand Down
1 change: 0 additions & 1 deletion docs/docs/slides/app-slide-title/app-slide-title.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ It's recommended to use [unpkg](https://unpkg.com/) if you want to use this temp

```
<script type="module" src="https://unpkg.com/@deckdeckgo/slide-title@latest/dist/deckdeckgo-slide-title/deckdeckgo-slide-title.esm.js"></script>
<script nomodule="" src="https://unpkg.com/@deckdeckgo/slide-title@latest/dist/deckdeckgo-slide-title/deckdeckgo-slide-title.js"></script>
```

### From NPM
Expand Down
1 change: 0 additions & 1 deletion docs/docs/slides/app-slide-video/app-slide-video.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ It's recommended to use [unpkg](https://unpkg.com/) if you want to use this temp

```
<script type="module" src="https://unpkg.com/@deckdeckgo/slide-video@latest/dist/deckdeckgo-slide-video/deckdeckgo-slide-video.esm.js"></script>
<script nomodule="" src="https://unpkg.com/@deckdeckgo/slide-video@latest/dist/deckdeckgo-slide-video/deckdeckgo-slide-video.js"></script>
```

### From NPM
Expand Down
1 change: 0 additions & 1 deletion docs/docs/slides/app-slide-youtube/app-slide-youtube.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ It's recommended to use [unpkg](https://unpkg.com/) if you want to use this temp

```
<script type="module" src="https://unpkg.com/@deckdeckgo/slide-youtube@latest/dist/deckdeckgo-slide-youtube/deckdeckgo-slide-youtube.esm.js"></script>
<script nomodule="" src="https://unpkg.com/@deckdeckgo/slide-youtube@latest/dist/deckdeckgo-slide-youtube/deckdeckgo-slide-youtube.js"></script>
```

### From NPM
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,6 @@ export class AppComponentsCharts {
<code slot="code">
&lt;script type=&quot;module&quot;
src=&quot;https:&#47;&#47;unpkg.com&#47;@deckdeckgo&#47;charts@latest&#47;dist&#47;deckdeckgo-charts&#47;deckdeckgo-charts.esm.js&quot;&gt;&lt;&#47;script&gt;
{'\n'}&lt;script nomodule=&quot;&quot;
src=&quot;https:&#47;&#47;unpkg.com&#47;@deckdeckgo&#47;charts@latest&#47;dist&#47;deckdeckgo-charts&#47;deckdeckgo-charts.js&quot;&gt;&lt;&#47;script&gt;
</code>
</deckgo-highlight-code>
<h3 id="app-components-charts-install-deckdeckgo-charts-from-npm">Install DeckDeckGo charts from NPM</h3>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,6 @@ export class AppComponentsColor {
<code slot="code">
&lt;script type=&quot;module&quot;
src=&quot;https:&#47;&#47;unpkg.com&#47;@deckdeckgo&#47;color@latest&#47;dist&#47;deckdeckgo-color&#47;deckdeckgo-color.esm.js&quot;&gt;&lt;&#47;script&gt;
{'\n'}&lt;script nomodule=&quot;&quot;
src=&quot;https:&#47;&#47;unpkg.com&#47;@deckdeckgo&#47;color@latest&#47;dist&#47;deckdeckgo-color&#47;deckdeckgo-color.js&quot;&gt;&lt;&#47;script&gt;
</code>
</deckgo-highlight-code>
<h3 id="app-components-color-install-from-npm">Install from NPM</h3>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,8 @@ export class AppComponentsDemo {
<p>Display your apps or websites inside an Android or iOS frame.</p>
<p>
It is largely inspired and based on the awesome{' '}
<a href="https://github.com/ionic-team/ionic-docs/tree/c5a624ac35d5285b871e7d8513d3849bdea63271/src/components/demo" rel="noopener noreferrer">
work
</a>{' '}
of the{' '}
<a href="https://ionicframework.com/" rel="noopener noreferrer">
Ionic
</a>{' '}
team.
<a href="https://github.com/ionic-team/ionic-docs/tree/c5a624ac35d5285b871e7d8513d3849bdea63271/src/components/demo">work</a> of the{' '}
<a href="https://ionicframework.com/">Ionic</a> team.
</p>
<h2 id="app-components-demo-table-of-contents">Table of contents</h2>
<ul>
Expand Down Expand Up @@ -80,55 +74,27 @@ export class AppComponentsDemo {
<p>This component could be added to your web application using the following methods.</p>
<h3 id="app-components-demo-using-from-a-cdn">Using from a CDN</h3>
<p>
It&#39;s recommended to use{' '}
<a href="https://unpkg.com/" rel="noopener noreferrer">
unpkg
</a>{' '}
to use the <a href="https://deckdeckgo.com">DeckDeckGo</a> lazy image component from a CDN. To do so, add the following include script in the main
HTML file of your project:
It&#39;s recommended to use <a href="https://unpkg.com/">unpkg</a> to use the <a href="https://deckdeckgo.com">DeckDeckGo</a> lazy image component
from a CDN. To do so, add the following include script in the main HTML file of your project:
</p>
<deckgo-highlight-code language="javascript">
<code slot="code">
&lt;script type=&quot;module&quot;
src=&quot;https:&#47;&#47;unpkg.com&#47;@deckdeckgo&#47;demo@latest&#47;dist&#47;deckdeckgo-demo&#47;deckdeckgo-demo.esm.js&quot;&gt;&lt;&#47;script&gt;
{'\n'}&lt;script nomodule=&quot;&quot;
src=&quot;https:&#47;&#47;unpkg.com&#47;@deckdeckgo&#47;demo@latest&#47;dist&#47;deckdeckgo-demo&#47;deckdeckgo-demo.js&quot;&gt;&lt;&#47;script&gt;
</code>
</deckgo-highlight-code>
<h3 id="app-components-demo-install-from-npm">Install from NPM</h3>
<p>
Install it in your project from{' '}
<a href="https://www.npmjs.com/package/@deckdeckgo/demo" rel="noopener noreferrer">
npm
</a>{' '}
using the following command:
Install it in your project from <a href="https://www.npmjs.com/package/@deckdeckgo/demo">npm</a> using the following command:
</p>
<deckgo-highlight-code language="bash">
<code slot="code">npm install @deckdeckgo&#47;demo</code>
</deckgo-highlight-code>
<h3 id="app-components-demo-framework-integration">Framework integration</h3>
<p>
The{' '}
<a href="https://stenciljs.com/docs/overview" rel="noopener noreferrer">
Stencil documentation
</a>{' '}
provide examples of framework integration for{' '}
<a href="https://stenciljs.com/docs/angular" rel="noopener noreferrer">
Angular
</a>
,{' '}
<a href="https://stenciljs.com/docs/react" rel="noopener noreferrer">
React
</a>
,{' '}
<a href="https://stenciljs.com/docs/vue" rel="noopener noreferrer">
Vue
</a>{' '}
and{' '}
<a href="https://stenciljs.com/docs/ember" rel="noopener noreferrer">
Ember
</a>
.
The <a href="https://stenciljs.com/docs/overview">Stencil documentation</a> provide examples of framework integration for{' '}
<a href="https://stenciljs.com/docs/angular">Angular</a>, <a href="https://stenciljs.com/docs/react">React</a>,{' '}
<a href="https://stenciljs.com/docs/vue">Vue</a> and <a href="https://stenciljs.com/docs/ember">Ember</a>.
</p>
<p>
That being said, commonly, you might either <code>import</code> or <code>load</code> it:
Expand Down
Loading

0 comments on commit 471eef4

Please sign in to comment.