Deku
⛄️ No-bundle Dev Server for ES modules with deno.
Install / Use
/learn @yisar/DekuREADME
deku
No-bundle Dev Server for morden ES modules.
Install
deno install -A --unstable 'https://deno.land/x/deku/mod.ts'
Use
$ deku create <project-name> // create a fre app
$ cd <project-name>
$ deku install // install modules from deku.json
$ deku // run
Hot reload
- Js(x)
There are two kinds of js, one is fre component, another is function.
And component will rerender, function will cause reload.
So, it's better that one component into one file, rather than maxing.
- Css
There are also two kinds of style, one is in fre component, another is inline html.
In the component, use css-in-js libraries, or add link to index.html, both them will rerender.
Todo
-
[x] hot reload
-
[x] cli
How is this different form viet or pika?
This is for Fre but not Vue, and use deno instead of node without node_modules.
This use deno compiler for compiling JSX instead of vue compiler.
So, no bundle, no JSX compiler, no node……
License
MIT ©yisar inspired by vite.
Related Skills
node-connect
351.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.8kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
