@usevyre/init
v0.1.1
Published
One-command setup for useVyre in an existing React or Vue project
Readme
@usevyre/init
One-command setup for useVyre in an existing React or Vue project.
npx @usevyre/initIt will:
- Detect your framework (React or Vue) and package manager.
- Install
@usevyre/reactor@usevyre/vue. - Add the styles import to your app entry (
import "@usevyre/<fw>/styles") — one self-contained file with tokens + component styles. - Show you how to wrap your app with
ToastProvider(React) / addToastViewport(Vue). - Suggest setting up AI context for your coding agent.
Options
--react | --vue Choose the framework (otherwise auto-detected)
--ai <target> Also set up AI context (claude | cursor | windsurf | copilot)
--dry-run Show what would happen without changing anything
--help Show helpIt only ever inserts a single import line, and is safe to re-run (idempotent).
For a new project, scaffold with your framework's tool first (e.g.
npm create vite@latest), then run npx @usevyre/init.
