Package Exports
- dtwo-edge
- dtwo-edge/dist/dtwo.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (dtwo-edge) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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 🔥
- 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