@dvhb/cli
v1.8.3
Published
dvhb build tool for project
Downloads
9
Readme
@dvhb/cli
Build tool with zero initial configuration
Features
- Webpack 3
- Babel 7
- Optional static views with pug template engine (for static websites)
Install in existing project
yarn add @dvhb/cli
Add scripts to package.json
"scripts": {
...
"start": "dvhb server",
"build": "dvhb build"
...
}
See basic starter project for more details examples/basic.
Workflow
- Add code to
src/
. - Build and watch changes in
src/
withyarn start
- Open localhost:3000
Requirements
- Node.js v7+ and npm