Skip to content

Latest commit

 

History

History
67 lines (48 loc) · 1.5 KB

README.md

File metadata and controls

67 lines (48 loc) · 1.5 KB

@tomjs/create-app

npm node-current (scoped) NPM

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

Reference project