Skip to content

guifromrio/deno-nano-jsx-twind-live-reload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nano JSX with Deno and twind

Deploy with Deno Deploy:

This is the starter I wish I had two weeks ago. The simplest JSX setup you can use for Deno server side rendered apps.

  • Deno with Oak server
  • Tailwind via Twind
  • Lightning-fast LiveReload
  • Markdown rendering example with apply styles

Getting started

Install denon

Create a .env file to enable live reload:

echo "ENABLE_LIVE_RELOAD=true" > .env

denon dev

Note about JSX pragma

/** @jsxImportSource https://esm.sh/nano-jsx@v0.0.29/lib **/ in every jsx component is unfortunately required to deploy on Deno Deploy — they don't support import maps yet.

About

Example Deno SSR app using nano-jsx, twind (on-the-fly tailwind) and a simple server-side live reload script.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published