@tomjs/create-app

1.6.1 • Public • Published

@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

Package Sidebar

Install

npm i @tomjs/create-app

Weekly Downloads

79

Version

1.6.1

License

MIT

Unpacked Size

226 kB

Total Files

181

Last publish

Collaborators

  • tomgao365