UmiJS and Roots are both open source static site generators. UmiJS is written in JavaScript and Roots is written in CoffeeScript.
Property | UmiJS | Roots |
---|---|---|
Language | JavaScript | CoffeeScript |
Templates | React | Jade |
License | MIT | MIT |
umi test
Install tool
$ yarn global add umi # OR npm install -g umi
Create a page
$ mkdir myapp && cd myapp
$ umi generate page index
Start the development server
$ umi dev
Build and deploy
$ umi build
Roots is a toolkit built on best practices for advanced front-end web development. It has a very large number of features, which Iβll attempt to list below. Roots comes in the form of a static site build tool by default, but also includes templates and plugins for express and rails.