@tomjs/create-app

Create a node/web/electron/vscode project based on tomjs
7,241 3
Install
npm install @tomjs/create-app
Latest Version:5.6.0
License:MIT
Last Updated:Sep 1, 2026
Links: GitHub  ·  npm
Maintainer: tomgao365

@tomjs/create-app

English | 中文

npm node-current (scoped) license

创建基于 vite + tomjs 的 web 应用。

仅提供给 @tomjs 使用,不推荐他人使用。

创建项目

# pnpm
pnpm create @tomjs/app

# yarn
yarn create @tomjs/app

# npm
npm create @tomjs/app@latest

然后根据提示生成项目。

$ pnpm create @tomjs/app -h

创建基于 tomjs 的 node/web/electron/vscode 项目

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

  package-name          包名称

Options
  --cwd                 当前工作目录
  --overwrite, -o       覆盖已存在的目录
  --package, -p         为 workspace 项目创建包
  --private             设为私有项目
  --verbose             显示详细日志
  --help, -h            显示帮助信息
  --version, -v         显示版本信息

支持模板:

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

参考项目

Related Packages

@quick-start/create-electron

An easy way to start an Electron project

115,010 363
vitron

This is a library to build beautiful (win, linux, mac) desktop apps for modern w...

1,805 21
create-web-kit

A powerful scaffolding tool for creating modern frontend projects with Vue, Next...

3,319 0
create-dotnetspa

Scaffold a .NET 10 + SPA solution (React, Vue or Angular) - coupled or decoupled...

174
@nx-plugins/vite

The Nx Plugin for Vite that contains executors, generators, and utilities for ma...

912

Version History

Version Released License
5.6.0 MIT
5.5.0 MIT
5.4.0 MIT
5.3.0 MIT
5.2.0 MIT
Pre-releases (2)
Version Released License
1.0.0-alpha.1 MIT
1.0.0-alpha.0 MIT