Rich-Harris / svelte-knobby

MIT License
201 stars 16 forks source link

Demo is outdated #19

Closed ElMassimo closed 3 years ago

ElMassimo commented 3 years ago

Description 📖

The demo linked in the docs is no longer working with the latest version of the library, as it relies on a knobby export which is not available.

This forked REPL replaces the knobby import with panel, and the demo works as expected.

Didn't submit a PR updating the README—I think you'll want to update your REPL instead to keep ownership 😄

braebo commented 3 years ago

Thanks @ElMassimo. It seems changing the de-structured import to a wildcard like in the README also works in the svelte REPL.

Though neither worked on my REPL nor the MDSvex Playground until I pointed the import path to utils.js: import * as knobby from 'svelte-knobby@latest/utils.js'

Rich-Harris commented 3 years ago

thanks — the README has since been updated