Skip to content

antdpro/create-antdp

Repository files navigation

Build & Deploy Coverage Status NPM Downloads Open in unpkg

Creates a antdp application using the command line.

Usage

# npm 6.x
$ npm init antdp my-app --example antdp-base
# npm 7+, extra double-dash is needed:
$ npm init antdp my-app -- --example antdp-base

$ yarn create antdp [appName]
# or npm
$ npm create antdp my-app
# or npx
$ npx create-antdp my-app

Command Help

Below is a help of commands you might find useful. The example download is from https://antdpro.github.io/antdp/zip/

Usage: create-antdp <app-name> [options] [--help|h]

Options:

  --version, -v   Show version number
  --help, -h      Displays help information.
  --output, -o    Output directory.
  --example, -e   Example from: http://antdpro.github.io/antdp/, default: "antdp-base"
  --path, -p      Specify the download target git address.
                    default: "http://antdpro.github.io/antdp/"

Example:

  yarn create antdp appName
  npx create-antdp my-app
  npm create antdp my-app
  npm create antdp my-app -f
  npm create antdp my-app -p https://antdpro.github.io/antdp/zip/

Copyright 2021

License

MIT © Kenny Wong