Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
Merge pull request #275 from vezwork/update-buildless-options-code
Browse files Browse the repository at this point in the history
Update getting-started.md to use esm.sh not skypack
  • Loading branch information
edemaine authored Oct 18, 2023
2 parents 5790ed3 + 492badf commit 40c8ec2
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions langs/en/guides/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,9 @@ You can run them straight from the browser using [Skypack](https://www.skypack.d
<html>
<body>
<script type="module">
import {
createSignal,
onCleanup,
} from "https://cdn.skypack.dev/solid-js";
import { render } from "https://cdn.skypack.dev/solid-js/web";
import html from "https://cdn.skypack.dev/solid-js/html";
import { onCleanup, createSignal } from "https://esm.sh/[email protected]";
import { render } from "https://esm.sh/[email protected]/web";
import html from "https://esm.sh/[email protected]/html";
const App = () => {
const [count, setCount] = createSignal(0),
Expand All @@ -146,6 +143,7 @@ You can run them straight from the browser using [Skypack](https://www.skypack.d
</script>
</body>
</html>

```

The advantages of going buildless come with tradeoffs:
Expand Down

0 comments on commit 40c8ec2

Please sign in to comment.