Dual-template component library with matching React and Vue implementations.
- Install dependencies:
pnpm install - Run examples (dev server at /examples):
pnpm dev - Build library:
pnpm buildorpnpm watchfor watch mode - Run tests:
pnpm test - Type check:
pnpm type-check
- React:
import Foo from 'foo/react' - Vue:
import Foo from 'foo/vue' - Prop:
message?: string
- Dev entry: examples/index.html
- React demo: examples/App.tsx
- Vue demo: examples/App.vue
- Specs: test/foo.spec.tsx
- Config: vitest.config.ts, setup at test/setup.ts
- Library build and types emit to
dist/from src