Skip to main content

✨ Features

  • Compiler
  • Bundler
  • Live Reloading

💫 Overview

  • After installing, run the following commands to get started.
via create my-app
cd my-app
via build
via dev
  • After running via dev, open http://localhost:3000 to see your app.

  • Make changes to the .svelte files in the source folder for live reloading on the browser.

💻 How to install via

  • Install the latest version of Deno.
  • Install via
deno install --allow-net --allow-read --allow-write --unstable https://deno.land/x/via/cli.ts
About Permissions
  • –allow-net: Required for the dev server.
  • –allow-read: Allows via to compile svelte files.
  • –allow-write: Allows via to write to files it creates during the via build process
  • –unstable: Allows the use of Deno’s standard modules which might not be stable yet.
Read more about permissions or stability here

⭐ How to use via

  • To create a project, type:
via create [project name]
  • To compile, first change directories to the root of the project (cd [project name]) then type:
via build
  • To start developing, type:
via dev
  • This will start up the development server and will open a websocket listening for any changes to the ./src folder. Upon saving changes, your svelte code will be compiled again and the browser will reload to reflect the changes.