Skip to content

Commit

Permalink
npm 包名修改
Browse files Browse the repository at this point in the history
  • Loading branch information
zdhxiong committed Jul 19, 2018
1 parent c043992 commit 620b53e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@
使用 npm 或 yarn 安装。

```
npm install mdui.JQ --save
npm install mdui.jq --save
```

mdui.JQ 支持 CommonJS、AMD 和 ES6 模块化规范。
mdui.jq 支持 CommonJS、AMD 和 ES6 模块化规范。

在 ES6 环境中,可以这样导入:

```js
import $ from mdui.JQ;
import $ from mdui.jq;
```

如果你不想使用构建环境,可以直接通过 <script> 标签引入 js 文件:
如果你不想使用构建环境,可以直接通过 `<script>` 标签引入 js 文件:

```html
<script src="./jq.min.js"></script>
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": "mdui.JQ",
"name": "mdui.jq",
"version": "1.0.0",
"description": "拥有和 jQuery 相似 API 的轻量级 JavaScript 工具库",
"main": "src/index.js",
Expand Down

0 comments on commit 620b53e

Please sign in to comment.