diff --git a/static-parts/README-start.md b/static-parts/README-start.md index 0731ea0c4..b5c7b1b04 100644 --- a/static-parts/README-start.md +++ b/static-parts/README-start.md @@ -39,7 +39,7 @@ npm install 30-seconds-of-code yarn add 30-seconds-of-code ``` -[CDN link](https://unpkg.com/30-seconds-of-code@2/) +[CDN link](https://unpkg.com/30-seconds-of-code/)
Details @@ -47,7 +47,7 @@ yarn add 30-seconds-of-code **Browser** ```html - + @@ -60,9 +60,9 @@ yarn add 30-seconds-of-code const _30s = require('30-seconds-of-code'); _30s.average(1, 2, 3); -// ES Modules (tree-shaking support) -import { average } from '30-seconds-of-code'; -average(1, 2, 3); +// ES Modules +import _30s from '30-seconds-of-code'; +_30s.average(1, 2, 3); ```