DEV Community

loading...
Cover image for Svelte in deno apps

Svelte in deno apps

riviergrullon profile image Rivier Grullon ・1 min read

Snel is a tool/framework to compile .svelte component to javascript files to create web application using deno and svelte.

"You all know" about Deno, The secure runtime for JavaScript and TypeScript.

The intention of this project is that we can use svelte with deno as the runtime, with just a simple

deno run --allow-run --allow-read https://deno.land/x/snel/install.ts
Enter fullscreen mode Exit fullscreen mode

we can create a new project to run it.

Create a project with snel

run in your terminal:

snel create [project name]
Enter fullscreen mode Exit fullscreen mode

then go to the folder an run it with the command run of trex

trex run start
Enter fullscreen mode Exit fullscreen mode

ezgif-3-3f3c03bec7be

for more information: snel repo

Discussion (0)

pic
Editor guide