Skip to content

Commit

Permalink
chore: 重命名 package name
Browse files Browse the repository at this point in the history
  • Loading branch information
daiwanxing committed Feb 20, 2023
1 parent 8ba7646 commit 31e772e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# bmap-loader
# bmap-jsapi-loader

![GitHub](https://img.shields.io/github/license/yinguobing/cnn-facial-landmark)
![downloads](https://img.shields.io/npm/dt/bmap-loader.svg)
Expand All @@ -22,33 +22,33 @@
### 使用 NPM:

```shell
$ npm install @wonderdai/bmap-jsapi-loader --save
$ npm install bmap-jsapi-loader --save
```

### 使用 Yarn:

```shell
$ yarn add @wonderdai/bmap-jsapi-loader --save
$ yarn add bmap-jsapi-loader --save
```

### 使用 PNPM:

```shell
$ pnpm install @wonderdai/bmap-jsapi-loader --save
$ pnpm install bmap-jsapi-loader --save
```

## 以 CDN 的方式使用

```js
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bmap-jsapi-[email protected]/dist/umd.min.js"></script>
```

## 快速开始

### 示例

```js
import { loader } from "@wonderdai/bmap-jsapi-loader";
import { loader } from "bmap-jsapi-loader";

// 安装 Javascrtip-API 3.0 版本的百度地图
loader({
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@wonderdai/bmap-jsapi-loader",
"name": "bmap-jsapi-loader",
"version": "1.0.0",
"description": "一个小巧的加载百度地图以及百度地图工具库的 js 插件",
"author": "Wonder Dai",
Expand Down

0 comments on commit 31e772e

Please sign in to comment.