Download the Repo
The fastest way to run the example or build your own LiveView is by downloading the LiveViewJS repo. This repo contains all the examples and configured webserver code for Express (NodeJS) and Oak (Deno).
Get the Code
git clone or
degit to get the LiveViewJS GitHub repository.
degitis a lightweight way to clone a repo without the .git parts.
More info. :::
Clone the LiveViewJS GitHub repository:
# clone the LiveViewJS repo
git clone https://github.com/floodfx/liveviewjs.git
OR fetch with
# copy the LiveViewJS repo
npx degit floodfx/liveviewjs liveviewjs
Change to the LiveViewJS Directory
# cd to the LiveViewJS directory
Node or Deno?
LiveViewJS runs on both Node and Deno, but you'll probably want to start down one path or the other depending on what runtime you are more familiar with or are already using.
other unless you are using Deno or Node-specific APIs in your LiveView implementation. :::