create-scaffa
v3.1.4
Published
All in one pre setup frontend templates
Maintainers
Readme
Scaffa Packages
create-scaffa
CLI tool of scaffa that generate frontend templates.
Overview
This directory contains the core packages for the Scaffa project. Each package serves a specific purpose in the overall project structure.
Packages
CLI
Path: packages/create-scaffa
The CLI package provides a command-line interface for creating and managing frontend projects using the predefined templates.
Key Files:
bin/index.js: Main entry point for the CLI commands.templates.js: Contains the available templates for project creation.templates/: Directory where actual templates exists.
Usage:
npx create-scaffa@latestScaffold
You can even create a project easily with scaffold feature.
npx create-scaffa@latest <ur-project-name> -t <template> -p <package-manager>Example
npx create-scaffa@latest scaffa-starter -t vue -p pnpmCheck available templates here.
Templates
| Template | Tech Stack | | --------- | ------------------------------------------- | | react | TypeScript, ShadcnUI, Axios, TanStack Query | | vue | TypeScript, ShadcnUI, Axios, TanStack Query |
Each template includes routing, localization, data fetching and all others necessary things with best practices.
When you run the above command, you will be prompted to:
- Enter your project name: Provide a name for your new project.
- Choose Template: Select a template for your project (e.g., React Standard, Vue Standard).
- Choose Package Manager: Choose your preferred package manager (e.g., npm, pnpm).
License
This project is licensed under the MIT License.
