@tomjs/create-app
v1.6.1
Published
create tomjs web app
Downloads
48
Maintainers
Readme
@tomjs/create-app
English | 中文
仅提供给 @tomjs 使用,不推荐他人使用。
创建项目
# pnpm
pnpm create @tomjs/app
# yarn
yarn create @tomjs/app
# npm
npm create @tomjs/app@latest
然后根据提示生成项目。
$ pnpm create @tomjs/app -h
create tomjs web app
Usage
$ create-app [name] [options]
name The package name
Options
--cwd The current working directory (default: ".")
-e, --example Only create examples
-p, --package Only create packages
--git Only manage git repository
--verbose Display verbose output
-h, --help Display this message
-v, --version Display version number
Examples
$ create-app my-project
支持模板:
- vue
- react
- electron-vue
- electron-react
- node
- node-cli
- node-cli-legacy
- node-vite-plugin
- node-workspaces
- vscode
- vscode-vue
- vscode-react