Skip to content

hamilton/svelte-sketch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

svelte-sketch

svelte-sketch turns any Svelte component on your filesystem into a full-fledged REPL. It handles all imports for you, local or remote.

Get Started

To get started, just run

npx svelte-sketch watch MyComponent.svelte
# load a stylesheet
npx svelte-sketch watch MyComponent.svelte --css path/to/style.css
# change the port
npx svelte-sketch watch MyComponent.svelte --port 9020

Alternatively, you can run

npm install -g svelte-sketch
svelte-sketch watch MyComponent.svelte

About

Turn any Svelte component on your filesystem into a full-fledge REPL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published