Giter Site home page Giter Site logo

zoomcar / zcui Goto Github PK

View Code? Open in Web Editor NEW
2.0 20.0 5.0 1.07 MB

CLI to generate vue projects with option to create components/layout/pages etc.

Home Page: https://zoomcar.github.io/zcui/

License: MIT License

JavaScript 100.00%
zcui vuejs webpack cli starter-kit

zcui's Introduction

PRs Welcome NPM version NPM license issues Dependencies Travis-ci Coverage Status CodeClimate Codacy grade Greenkeeper badge

Getting started

Prerequisites


Node

First, install the latest version of Node.

Node is available for a variety of platforms at nodejs.org. It is important that you not install Node with sudo in order to avoid permission problems. On Unix, nvm provides a convenient way to do this. On OS X, you can also use Homebrew. On Windows, chocolatey is an option.

After the installation is complete, verify that Node is set up correctly by typing the below commands on the command line. Both should output a version number:

$ node -v
$ npm -v

zcui CLI

Once you’ve installed Node, you’ll need to globally install zcui CLI:

$ npm install -g zcui

After the installation is complete, verify that zcui is set up correctly by typing the below command on the command line.

$ zcui --version


Common commands

$ zcui
#------
  # Commands:
    new <app-name>      # Initialize new app                           [aliases: n, init]
    create <type>       # Create new component/page/layout etc  [aliases: generate, c, g]

  # Examples:
    zcui new HelloWorld
    zcui create component Calendar


$ zcui new <app>
#------------------
  # Options:
    --target, -t   # target template name       [string] [required] [choices: "vue"]

  # Examples:
    zcui new HelloWorld --target vue


$ zcui create <type>
#---------------------
  # Commands:
    component <name>  # create new component
    layout <name>     # create new layout
    page <name>       # create new page
    helper <name>     # create new helper
    store <name>      # create new store module
    style <name>      # create new Style partial

  # Examples:
    zcui create component Calendar
    zcui create layout Default
    zcui create page Home --layout Default
    zcui create helper date
    zcui create store user
    zcui create style button


Support Variants / Targets

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.