Skip to content

Commit

Permalink
Update example imports to use esm.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
wrnrlr committed Nov 6, 2024
1 parent 8b380a5 commit c67e677
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion www/playground.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
const playing = signal(true)
const examples = [
{name:'counter',title:'Counter'},
{name:'todo',title:'Todo'},
{name:'todo',title:'Todo App'},
// {name:'admin',title:'Admin'}
]

Expand Down
2 changes: 1 addition & 1 deletion www/public/example/counter.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<script type="module">

import {h,signal,render} from '/prelude/bundle.js'
import {h,signal,render} from 'https://esm.sh/@wrnrlr/prelude'

function Input(props) {
const onInput = e => props.value(parseInt(e.target.value))
Expand Down
2 changes: 1 addition & 1 deletion www/public/example/todo.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<script type="module">

import {h,signal,effect,batch,wrap,render,List} from '/prelude/bundle.js'
import {h,signal,effect,batch,wrap,render,List} from 'https://esm.sh/@wrnrlr/prelude'

const data = [
{description:'Buy groceries',done:false},
Expand Down

0 comments on commit c67e677

Please sign in to comment.