This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@mnik01/litebook
TypeScript icon, indicating that this package has built-in type declarations

0.0.11 • Public • Published

Lite alternative to StoryBook using Vite

CURRENTLY IN DEVELOPMENT DO NOT USE IT

Installation and usage demonstration

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 with pnpm litebook
  • npm: run npx @mnik01/litebook for initializing then start dev server with npm 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

Package Sidebar

Install

npm i @mnik01/litebook

Weekly Downloads

1

Version

0.0.11

License

MIT

Unpacked Size

38.9 kB

Total Files

19

Last publish

Collaborators

  • mnik01