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
- WindiCSS
- LiveReload
- Markdown rendering example
Create a .env
file to add tokens and enable live reload:
echo "ENABLE_LIVE_RELOAD=true" > .env
npm i
npm start
I originally designed this to use concurrently
with deno and windi in dev mode, running in parallel. However, due to windicss/windicss#694 I'm currently calling windicss
one-off upon server restart. This ensures CSS is correctly generated and takes only ~300ms.
/** @jsxImportSource https://esm.sh/[email protected]/lib **/
in every jsx component is unfortunately required to deploy on Deno Deploy — they don't support import maps yet.