代码拉取完成,页面将自动刷新
Creates a kkt application using the command line.
# npm 6.x
$ npm init kkt my-app --example react-component-tsx
# npm 7+, extra double-dash is needed:
$ npm init kkt my-app -- --example react-component-tsx
$ yarn create kkt [appName]
# or npm
$ npm create kkt my-app
# or npx
$ npx create-kkt my-app
or
$ npm i create-kkt -g
Below is a help of commands you might find useful. The example download is from https://kktjs.github.io/zip/
Usage: create-kkt <app-name> [options] [--help|h]
Options:
--version, -v Show version number
--help, -h Displays help information.
--output, -o Output directory.
--example, -e Example from: https://kktjs.github.io/zip/ , default: "basic"
--force, -f Overwrite target directory if it exists. default: false
--path, -p Specify the download target git address. default: "https://kktjs.github.io/zip/"
Example:
npx create-kkt my-app
yarn create kkt appName
npm create kkt my-app
npm create kkt my-app -f
npm create kkt my-app -p https://kktjs.github.io/zip/
Copyright 2021
npm run watch # Listen compile .ts files.
npm run build # compile .ts files.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。