create-pyths-app
v0.2.1
Published
Create a new PythScribe app — React + Next.js + PythScribe
Downloads
136
Maintainers
Readme
create-pyths-app
Scaffold a new PythScribe project in seconds.
Usage
npm create pyths-app@latest my-app
cd my-app
npm install
npm run devOr with npx:
npx create-pyths-app my-appWhat you get
- A Vite + React project pre-wired with
vite-plugin-pyths. - An example
.pscomponent to copy from. pyths.tomlwith sensible defaults.- Standard scripts:
dev,build,preview,lint,check.
Project structure
my-app/
├── app/ # .ps source files
│ └── App.ps
├── components/ # shared @component / @psx helpers
├── public/ # static assets
├── pyths.toml
├── vite.config.js
├── package.json
└── index.htmlNext steps after scaffolding
- Read getting-started-with-vite.md to understand the plugin layer.
- Check
examples/in the main repo for full app fixtures (dashboard, CRM). - Run
pyths check **/*.psbefore committing — catches type errors at compile time.
License
MIT.
