Skip to content

dvhb/cli

Repository files navigation

@dvhb/cli Build Status

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/ with yarn start
  • Open localhost:3000

Requirements

  • Node.js v7+ and npm