Skip to content

create vite + web/node/electron/vscode projects

License

Notifications You must be signed in to change notification settings

tomjs/create-app

Repository files navigation

@tomjs/create-app

npm node-current (scoped) NPM

English | 中文

Create a web application based on vite + tomjs.

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.

You can also directly specify the project name, template.

# pnpm
pnpm create @tomjs/app my-app --template vue

# yarn
yarn create @tomjs/app my-app --template vue

# npm 7+, extra double-dash is needed:
npm create @tomjs/app@latest my-app -- --template vue

Parameters:

  • -t --template : specify the template
  • --git:git repository setting

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