Skip to content

Commit

Permalink
docs: new version
Browse files Browse the repository at this point in the history
  • Loading branch information
krisk committed Oct 25, 2023
1 parent 7a23b22 commit ef069b8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ For prototyping or learning purposes, you can use the latest version with:
For production, we recommend linking to a specific version number and build to avoid unexpected breakage from newer versions:

```html
<script src="https://cdn.jsdelivr.net/npm/fuse.js@6.6.2"></script>
<script src="https://cdn.jsdelivr.net/npm/fuse.js@7.0.0"></script>
```

If you are using native ES Modules, there is also an ES Modules compatible build:

```html
<script type="module">
import Fuse from 'https://cdn.jsdelivr.net/npm/fuse.js@6.6.2/dist/fuse.mjs'
import Fuse from 'https://cdn.jsdelivr.net/npm/fuse.js@7.0.0/dist/fuse.mjs'
</script>
```

Expand All @@ -66,8 +66,8 @@ version in your published site, replacing `fuse.js` with `fuse.min.js`. This is
You can directly import `Fuse` as an ES module from the deno.land/x service:

```typescript
// @deno-types="https://deno.land/x/fuse@v6.6.2/dist/fuse.d.ts"
import Fuse from 'https://deno.land/x/fuse@v6.6.2/dist/fuse.min.mjs'
// @deno-types="https://deno.land/x/fuse@v7.0.0/dist/fuse.d.ts"
import Fuse from 'https://deno.land/x/fuse@v7.0.0/dist/fuse.min.mjs'
```

<Donate />

0 comments on commit ef069b8

Please sign in to comment.