views-cli

一个前端视图工具

Usage no npm install needed!

<script type="module">
  import viewsCli from 'https://cdn.skypack.dev/views-cli';
</script>

README

views-cli

一个前端视图工具

NPM Version NPM Downloads Build Status Codecov Status dependencies Status Gratipay

Installation

With npm do:

npm install -g views-cli

Usage

$ views -h

  Usage: views [options] [command]                                                                                                
                                                                                                                                
                                                                                                                                
  Commands:                                                                                                                     
                                                                                                                                
    init [dir]  initialize a front view                                                                                         
                                                                                                                                
  Options:                                                                                                                      
                                                                                                                                
    -h, --help     output usage information                                                                                     
    -V, --version  output the version number

Create A Project

$ views init app-name

Initialize A Project

$ cd app-name && views init

Test

$ npm run test

License

this repo is released under the MIT License.