Skip to content

Quafadas/viteless

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TL;DR

  1. copy and paste in terminal.
scala-cli --version && \
cs version && \
git clone https://github.com/Quafadas/viteless.git && \
cd viteless && \
cs launch --contrib sjsls
  1. Edit hello.scala - observe live reload.

Prerequisites

It is assumed, that scala-clia, coursier and just are installed, and that

scala-cli --version , cs version prints something reasonable. Use scala-cli 1.3.2+ for the best experience.

Usage

See the justfile.

Getting started

The main branch is the "hello world" example. To run it, use just dev.

Extra stuff

The spa_style_deps branch is a more complex example that

  • uses waypoint for client side routing
  • reloads style changed without page refresh
  • uses shoelace

Switch to that branch and run just dev.

External index.html

Usually at some point, you'll want to write your own index.html. You can server that out of the

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published