Skip to content

Commit

Permalink
docs(en): merge docs-cn/sync-docs into docs-cn/dev @ 540fde0
Browse files Browse the repository at this point in the history
  • Loading branch information
QC-L authored Jun 2, 2021
2 parents 5efdc4f + bd41af9 commit d530b18
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions guide/assets.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ import Worker from './shader.js?worker'
const worker = new Worker()
```

```js
// sharedworker
import SharedWorker from './shader.js?sharedworker'
const sharedWorker = new SharedWorker()
```

```js
// 内联为 base64 字符串
import InlineWorker from './shader.js?worker&inline'
Expand Down

0 comments on commit d530b18

Please sign in to comment.