Skip to content

Commit

Permalink
docs: update docs to reflect new dist setup [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
noherczeg committed Nov 16, 2023
1 parent 2a1cabe commit 711e767
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ a custom service which will alter the application it self.

<script type="module">
// 0. Import Pandino, and a bundle loader config preset.
import Pandino from 'https://unpkg.com/@pandino/pandino@latest/dist/esm/pandino.mjs';
import loaderConfiguration from 'https://unpkg.com/@pandino/loader-configuration-dom@latest/dist/esm/loader-configuration-dom.mjs';
import Pandino from 'https://unpkg.com/@pandino/pandino@latest/dist/@pandino/pandino.mjs';
import loaderConfiguration from 'https://unpkg.com/@pandino/loader-configuration-dom@latest/dist/@pandino/loader-configuration-dom.mjs';
const pandino = new Pandino({
...loaderConfiguration,
Expand Down Expand Up @@ -155,8 +155,8 @@ export default class Activator {
<p id="text-to-invert">This text should be inverted!</p>

<script type="module">
import Pandino from 'https://unpkg.com/@pandino/pandino@latest/dist/esm/pandino.mjs';
import loaderConfiguration from 'https://unpkg.com/@pandino/loader-configuration-dom@latest/dist/esm/loader-configuration-dom.mjs';
import Pandino from 'https://unpkg.com/@pandino/pandino@latest/dist/@pandino/pandino.mjs';
import loaderConfiguration from 'https://unpkg.com/@pandino/loader-configuration-dom@latest/dist/@pandino/loader-configuration-dom.mjs';
const pandino = new Pandino({
...loaderConfiguration,
Expand Down
6 changes: 3 additions & 3 deletions docs/advanced/activator-resolvers.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ ActivatorResolvers can be registered with the [FrameworkConfigMap](../../package
- with the corresponding [ActivatorResolver](../../packages/@pandino/pandino-api/src/activator-resolver.ts) implementation

```javascript
import loaderConfiguration from 'https://unpkg.com/@pandino/loader-configuration-dom/dist/loader-configuration-dom.mjs';
import umdActivatorResolver from 'https://unpkg.com/@pandino/umd-activator-resolver-dom/dist/umd-activator-resolver-dom.mjs';
import Pandino from 'https://unpkg.com/@pandino/pandino/dist/esm/pandino.mjs';
import loaderConfiguration from 'https://unpkg.com/@pandino/loader-configuration-dom@latest/dist/@pandino/loader-configuration-dom.mjs';
import umdActivatorResolver from 'https://unpkg.com/@pandino/umd-activator-resolver-dom@latest/dist/@pandino/umd-activator-resolver-dom.mjs';
import Pandino from 'https://unpkg.com/@pandino/pandino@latest/dist/@pandino/pandino.mjs';

const pandino = new Pandino({
...loaderConfiguration,
Expand Down
4 changes: 2 additions & 2 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ In the sections below, we will showcase different use-cases in which you can ins

```html
<script type="module">
import loaderConfiguration from 'https://unpkg.com/@pandino/loader-configuration-dom@latest/dist/esm/loader-configuration-dom.mjs';
import Pandino from 'https://unpkg.com/@pandino/pandino@latest/dist/esm/pandino.mjs';
import loaderConfiguration from 'https://unpkg.com/@pandino/loader-configuration-dom@latest/dist/@pandino/loader-configuration-dom.mjs';
import Pandino from 'https://unpkg.com/@pandino/pandino@latest/dist/@pandino/pandino.mjs';
const pandino = new Pandino({
...loaderConfiguration,
Expand Down

0 comments on commit 711e767

Please sign in to comment.