create-quapp
v1.1.3
Published
Scaffold a new Quapp project with your choice of framework (React, Vue, Solid, Vanilla)
Downloads
20
Maintainers
Readme
create-quapp
Scaffolding tool for Quapp projects.
Usage
npm create quapp@latestyarn create quapppnpm create quappbun create quappThen follow the prompts.
You can also specify the project name and template directly:
npm create quapp@latest my-app -- --template reactTemplates
| JavaScript | TypeScript |
|------------|------------|
| vanilla-js | vanilla-ts |
| react | react-ts |
| react+swc | react-ts+swc |
| vue | vue-ts |
| solid-js | solid-ts |
Options
| Flag | Description |
|------|-------------|
| -t, --template <name> | Project template |
| -a, --author <name> | Author name |
| -d, --description <text> | Project description |
| -g, --git | Initialize git repository |
| -i, --install | Install dependencies |
| -y, --yes | Skip prompts, use defaults |
| -f, --force | Overwrite existing directory |
| --pm <manager> | Package manager (npm/yarn/pnpm/bun) |
| --dry-run | Preview without creating |
Scaffolded Project
The generated project includes:
- quapp dev dependency
npm run dev— Start dev server with mobile QR codenpm run qbuild— Build.qpppackagequapp.config.json— Quapp configuration- Vite build setup
Example
# Create React TypeScript project
npm create quapp@latest my-app -- --template react-ts
cd my-app
npm install
npm run devAutomation
For CI/CD or programmatic usage:
npm create quapp@latest my-app -- -t react -y --jsonJSON output:
{
"success": true,
"projectName": "my-app",
"projectPath": "/path/to/my-app",
"template": "react",
"nextSteps": ["cd my-app", "npm install", "npm run dev"]
}Related
- quapp — Dev server and build CLI
License
MIT
