Package Exports
- @vite-powerflow/create
- @vite-powerflow/create/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@vite-powerflow/create) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@vite-powerflow/create
Generate a new, production-ready Vite PowerFlow starter project in seconds.
🚀 Quick Start
Prerequisites
- Node.js (v18 or higher)
- Cursor AI Editor or Visual Studio Code
- Docker
Note: For the best AI-assisted development experience, use Cursor AI Editor. If you prefer a classic setup, Visual Studio Code works perfectly.
Generate an app using the CLI tool
Run this command in your terminal:
npx @vite-powerflow/create my-app
You can also run the CLI tool in non-interactive mode for faster setup. See CLI Options
Open the folder in your code editor
Reopen in Containerwhen prompted (Dev Container)
Wait for the installation (It can take a few minutes)
Launch dev server:
pnpm devStart developing! 🚀
CLI Options
The CLI tool supports the following options for non-interactive usage:
| Flag/Argument | Description |
|---|---|
[project-directory] |
The name of the project directory (required) |
-g, --git |
Initialize Git repository |
-u, --git-user-name <name> |
Git user.name (required with --git) |
-e, --git-user-email <email> |
Git user.email (required with --git) |
-o, --use-global-git |
Use global Git identity if found |
Documentation
For full documentation, features, and advanced usage, see the Vite PowerFlow monorepo README. (WIP: Vite Powerflow website coming soon )
MIT License