Skip to content

Commit

Permalink
docs: mod require doc
Browse files Browse the repository at this point in the history
  • Loading branch information
tao1991123 committed Jul 9, 2019
1 parent 084a6bc commit 03e4ae6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@

#### 初始化
```javascript
const Client = require('@alifd/fusion-site-sdk');
import Client from '@alifd/fusion-site-sdk';
//
const Client = require('@alifd/fusion-site-sdk').default;

// 使用token 初始化token
const client = new Client('your token');
Expand Down

0 comments on commit 03e4ae6

Please sign in to comment.