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@latest
Then generate the project based on the prompts.
$ 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
Support templates:
- vue
- react
- electron-vue
- electron-react
- node
- node-cli
- node-cli-legacy
- node-vite-plugin
- node-workspaces
- vscode
- vscode-vue
- vscode-react