@typemvc/create
v0.2.1
Published
Project initializer for TypeMVC. Run with: npm create @typemvc
Maintainers
Readme
@typemvc/create
Project initializer for TypeMVC. Scaffolds a minimal, ready-to-run app.
Usage
npm create @typemvc@latest my-app
# or: pnpm create @typemvc my-app
# or: yarn create @typemvc my-appThen:
cd my-app
npm install
npm run devOptions
| Flag | Description |
| --- | --- |
| --name <name> | Project name (default: target directory name) |
| --force, -f | Scaffold into a non-empty directory |
| --no-git | Do not run git init |
| --help, -h | Show help |
| --version, -v | Show the version |
What you get
A Vite SPA wired for TypeMVC: a typed tsconfig.json, the @typemvc/core/vite plugin, a bootstrap entry, a Home controller with a reactive counter, a 404 catch-all controller, and matching .tmvc views. The generated app installs, typechecks, and builds against the published @typemvc/core.
This package has zero runtime dependencies and is non-interactive (flags only), so it works in CI and scripts.
License
MIT (c) coretravis
