caplin-cli v1.10.0
Building Apps with Caplin-cli
Caplin-cli is a command line module to create Node.js apps
Getting started
Prerequisites
- Node v7.6+
Installation
npm install -g caplin-cliInitialising the Workspace
caplin-cli initThis will generate the following folder structure:
apps/
packages/
packages-caplin/Create an app
caplin-cli create-app myapp j2ee-appThe newly created app will be placed in an apps folder. To start the app, cd
into the newly created app directory run npm install and npm start. This app
contains basic configuration for a jetty server.
Create a component
caplin-cli create-component MyComponent react srcThis will create a react component called MyComponent in the src directory. If you do not sepcify arguments for the create-component command you will be given dropdown options for the component name, type and location.
More commands
For a list of available commands and options, use the help command
caplin-cli help8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago