1.0.2 • Published 5 years ago
bigojs v1.0.2
Bigo
Mustache based boilerplater and easy generator for server-side websites and applications.
Dependencies
- Mustache.js
- Typescript
Install and use
Install
Get Bigo CLI via npm with the following command:
npm install -g bigojsStart a project
To start a new Bigo project with a default autogenerated application, blank or blog, run the following command:
bigo start myName --type blogThis will generate an application with a Bigo skeleton in a diretory \myName.
Run
The Bigo CLI includes a run command that ultimately runs the main file in the package.json with ts-node.
cd myName
npm runThe project created is a Typescript NodeJs aplication, so there are multiple ways of running the application.
Generate
bigo generate myComponentThis will create the following files:
.
|- myComponent
| |- myComponent.ts
| |- myComponent.htmlCredits
- Author: Fabrizio Delcompare - fabrv