English | 中文
This is only provided to @tomjs and is not recommended for others to use.
# pnpm
pnpm create @tomjs/app
# yarn
yarn create @tomjs/app
# npm
npm create @tomjs/app@latestThen generate the project based on the prompts.
$ pnpm create @tomjs/app -h
Create a template based on tomjs node/web/electron/vscode
Usage
$ create-app [options] <dir>
dir Project directory
Options
-o, --overwrite Overwrite existing project
-p, --private Set as private project
--verbose Show verbose logs
-h, --help Show help information
-v, --version Show version informationSupport templates:
- electron-vue
- electron-react
- node-base
- node-cli
- node-vite
- vscode-base
- vscode-vue
- vscode-react
- web-vue
- web-react