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 node/web/electron/vscode project based on tomjs

Usage
  $ create-app [options] <package-name>

  package-name          Package name

Options
  --overwrite, -o       Overwrite existing project
  --package, -p         Create a package for the workspace project
  --private             Set as private project
  --verbose             Show verbose logs
  --help, -h            Show help information
  --version, -v         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