Updated docs for ESM import.
This commit is contained in:
parent
0838135d4a
commit
2a73b6ed34
@ -38,8 +38,10 @@ Web Applications from our CDN.
|
|||||||
|
|
||||||
_code: ES6 in the Browser @lang<html>
|
_code: ES6 in the Browser @lang<html>
|
||||||
|
|
||||||
<script src="https://cdn.ethers.io/lib/ethers-5.0.esm.min.js"
|
<script type="module">
|
||||||
type="application/javascipt"></script>
|
import { ethers } from "https://cdn.ethers.io/lib/ethers-5.0.esm.min.js";
|
||||||
|
// Your code here...
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
_code: ES3 (UMD) in the Browser @lang<html>
|
_code: ES3 (UMD) in the Browser @lang<html>
|
||||||
|
Loading…
Reference in New Issue
Block a user