Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

cloud-cli

cklwblove48MIT1.1.7

快速开发基于vue和angular、jQuery为模板的cli工具

vue, angular, jQuery, bootstrap, cli, plugin, template, multipage, spa

readme

Cloud CLI Build Status

A simple CLI for scaffolding Cloud Broker front-end project.

This CLI based on the vue-cli.

Installation

Prerequisites: Node.js (>=4.x, 6.x preferred) and Git.

$ npm install -g cloud-cli

Usage

$ cloud init <template-name> <project-name>

Example:

$ cloud init vue-template my-project

$ cloud init ng-template my-project

$ cloud init jQuery-template my-project

The above command pulls the template from cloud-templates, prompts for some information, and generates the project at ./my-project/.

Templates

All official project templates are repos in the cloud-templates organization. When a new template is added to the organization, you will be able to run cloud init <template-name> <project-name> to use that template. You can also run cloud list to see all available official templates.

Current available templates include:

  • vue-template - For the mobile terminal project.

  • ng-template - For the pc terminal project.

    • jQuery-template - For the pc terminal project.This is a multipage seed for web application built by jQuery,bootstrap and webpack.

License

MIT

changelog

cloud-cli Change Log

1.1.7

2017-09-12

  • New 新增vue-plugin-templatevue插件模板。

1.1.6

2017-08-24

  • Fix 修复mac下cloud命令异常问题,究其原因在于windows系统环境下用git命令检出的文件,进行提交的时候,会出现换行符的问题。因为Windows和Linux的换行符不一样,而Git默认是Linux的。可以用命令git config --global core.autocrlf false

1.1.4

2017-08-17

  • New 新增基于webpack搭建纯静态多页面型前端工程方案项目工程模板