Getting Started
Create a project
npm i koa-cola -g
install global koa-cola
koa-cola new app
Create a new koa-cola project in the current folder, name app
. It will automatically create a complete directory structure, and install dependencies
cd koa-cola-app && npm run dev
Start the project as development model, build webpack bundle, launch the project, and open the browser, and watch the specify files changes. When the files are modified, bundled js and ssr server-side rendering will hot reload