Skip to content

tomjs/create-app

Repository files navigation

@tomjs/create-app

npm node-current (scoped) license

English | 中文

Create a web application based on vite + tomjs.

This is only provided to @tomjs and is not recommended for others to use.

Creating a Project

# 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 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 information

Support templates:

  • electron-vue
  • electron-react
  • node-base
  • node-cli
  • node-vite
  • vscode-base
  • vscode-vue
  • vscode-react
  • web-vue
  • web-react

Reference project