my-project-scaffold
v1.0.3
Published
A CLI tool to generate project templates for Vue, React, Node.js, Angular and Svelte
Maintainers
Readme
my-project-scaffold
A CLI tool to generate project templates for Vue, React, Node.js, Angular and Svelte.
Installation
npm install -g my-project-scaffoldUsage
# Create a new project
scaffold create <project-name>
# Select project type (use arrow keys to navigate, enter to confirm)
? 选择项目类型: (Use arrow keys)
❯ Vue
React
Node.js
Angular
Svelte
# Enter project directory
cd <project-name>
# Install dependencies
npm install
# Run project
# Vue: npm run dev
# React: npm start
# Node.js: npm start or npm run dev
# Angular: npm start
# Svelte: npm run devSupported Project Types
- Vue: Vue 3 + Vite
- React: React 18 + React Scripts
- Node.js: Express server
- Angular: Angular 16
- Svelte: Svelte 4 + Vite
Features
- Interactive command-line interface
- Multiple project templates
- Automatic directory creation
- Pre-configured dependencies
- Standard project structure
License
ISC
