Skip to content

Commit

Permalink
docs(getting-started): 添加cdn引入包说明
Browse files Browse the repository at this point in the history
  • Loading branch information
renzp94 committed May 16, 2024
1 parent 76aa813 commit a0aeea1
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/pages/guide/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,19 @@ $ yarn add @renzp/utils
$ bun add @renzp/utils
```

```js [cdn]
<script type="importmap">
{
"imports": {
"@renzp/utils": "https://esm.sh/@renzp/utils"
}
}
</script>
<script type="module">
import { isNumber } from '@renzp/utils'
</script>
```

:::


Expand Down

0 comments on commit a0aeea1

Please sign in to comment.