Yisar Deku Save

⛄️ No-bundle Dev Server for ES modules with deno.

Project README

deku

No-bundle Dev Server for morden ES modules.

Build Status tag license tag

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

  • hot reload

  • 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.

Open Source Agenda is not affiliated with "Yisar Deku" Project. README Source: yisar/deku
Stars
51
Open Issues
1
Last Commit
3 years ago
Repository
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating