Skip to content

Commit

Permalink
doc: add cdn link (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
cola119 authored May 17, 2022
1 parent 605365e commit 4a3a82c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ console.log(profile);

## CDN

https://unpkg.com/@line/[email protected]/dist/umd/liff-mock.js

```html
<!-- in <head> tag -->
<script src="https://unpkg.com/@line/[email protected]/dist/umd/liff-mock.js"></script>
```

```js
const liff = window.liff;
const liffMockPlugin = window.liffMock;
Expand Down

0 comments on commit 4a3a82c

Please sign in to comment.