This repository has been archived by the owner on Sep 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update getting-started.md to use esm.sh not skypack
- Loading branch information
Showing
1 changed file
with
4 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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), | ||
|
@@ -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: | ||
|