0.0.11 • Published 1 year ago
@mnik01/litebook v0.0.11
Lite alternative to StoryBook using Vite
CURRENTLY IN DEVELOPMENT DO NOT USE IT
Requirements:
- To have vite for bundling your project. Because litebook don't install vite itself it reuses your node_modules.
- To have typescript
- To have react
Supports:
- Vite
- Typescript
- tailwindcss
- React
- pnpm
Hot reload for stories supported. But you need to restart litebook if you create new one
Usage
- pnpm: run
pnpx @mnik01/litebook
for initializing then start dev server withpnpm litebook
- npm: run
npx @mnik01/litebook
for initializing then start dev server withnpm run litebook
Roadmap
- Add support for conrolls of component props
- Move
import '../src/index.css';
line from template to stdin. Ask about tailwind css from user via cli - Write storybook like appearence
- Error handling
- Support of
.md
and.mdx
files - Support for Vue and Svelte
- Resize of canvas section