dtwo-edge
v2.17.1-28339286.2cc1655
Published
A minimalistic framework for server-rendered Kdu.js applications (inspired by Next.js)
Downloads
210
Maintainers
Readme
Dtwo
Build your next Kdu(2) application with confidence using Dtwo: a framework making web development simple and powerful.
Features
- Automatic transpilation and bundling (with webpack and babel)
- Hot code reloading
- Server-side rendering OR Single Page App OR Static Generated, you choose :fire:
- Static file serving.
./static/
is mapped to/
- Configurable with a
dtwo.config.js
file - Custom layouts with the
layouts/
directory - Middleware
- Code splitting for every
pages/
- Loading just the critical CSS (page-level)
Learn more at https://dtwojs-v2.web.app.
Getting started
$ npx create-dtwo-app <project-name>
It's as simple as that!
Learn more at https://dtwojs-2.web.app/guide/installation
Production deployment
To deploy, instead of running dtwo, you probably want to build ahead of time. Therefore, building and starting are separate commands:
dtwo build
dtwo start
Learn more at https://dtwojs-v2.web.app/guide/commands#production-deployment