@viewfoundry/cli
v0.6.0
Published
CLI for ViewFoundry — init, export, and validate
Downloads
64
Readme
@viewfoundry/cli
Command-line tools for ViewFoundry.
Commands
| Command | Description |
| ---------------------- | --------------------------------------------- |
| viewfoundry init | Scaffold a ViewFoundry + Vite + React project |
| viewfoundry validate | Validate a ViewDocument JSON file |
| viewfoundry export | Generate TSX from JSON |
Init
npx @viewfoundry/cli init my-app --template landing-page
cd my-app && npm install && npm run devTemplates: default, landing-page, dashboard-builder.
