https://github.com/tomjs/create-app
create vite + web/node/electron/vscode projects
https://github.com/tomjs/create-app
create-app electron hbuilderx node react template vite vscode vue
Last synced: 4 months ago
JSON representation
create vite + web/node/electron/vscode projects
- Host: GitHub
- URL: https://github.com/tomjs/create-app
- Owner: tomjs
- License: mit
- Created: 2023-11-15T10:35:17.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2026-01-20T14:50:29.000Z (4 months ago)
- Last Synced: 2026-01-20T23:17:19.646Z (4 months ago)
- Topics: create-app, electron, hbuilderx, node, react, template, vite, vscode, vue
- Language: TypeScript
- Homepage:
- Size: 1.7 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# @tomjs/create-app
  
**English** | [中文](./README.zh_CN.md)
> Create a web application based on [vite](https://github.com/vitejs/vite) + [tomjs](https://github.com/tomjs).
This is only provided to [@tomjs](https://github.com/tomjs) and is not recommended for others to use.
## Creating a Project
```bash
# pnpm
pnpm create @tomjs/app
# yarn
yarn create @tomjs/app
# npm
npm create @tomjs/app@latest
```
Then generate the project based on the prompts.
```bash
$ pnpm create @tomjs/app -h
Create a node/web/electron/vscode project based on tomjs
Usage
$ create-app [options]
package-name Package name
Options
--cwd Current working directory
--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
- hbuilderx-base
- hbuilderx-react
- hbuilderx-vue
- node-base
- node-cli
- node-vite
- vscode-base
- vscode-vue
- vscode-react
- web-vue
- web-react
## Reference project
- [create-vite](https://github.com/vitejs/vite/tree/main/packages/create-vite)
- [electron-vite-vue](https://github.com/electron-vite/electron-vite-vue)