sensiolabs/storybook-bundle
最新稳定版本:0.1.2
Composer 安装命令:
composer require sensiolabs/storybook-bundle
包简介
Bundle to use Storybook with Symfony UX packages.
README 文档
README
This bundle provides a basic integration for Storybook into a Symfony application using Twig Components.
DISCLAIMER:
This bundle is under active development. Some features may not work as expected and the current documentation may be incomplete.
Table of Content
- Installation
- Getting Started
- Configuration
- Storybook Features
- Stories
- Addons
- Args Processors
- Component Mock
- Static Build
Installation
To install the bundle into your project run:
composer require sensiolabs/storybook-bundle
Initialize Storybook in your project:
bin/console storybook:init
This will create basic configuration files and add required dependencies to your package.json.
Install new dependencies with:
npm install
Ensure your Symfony server is running on the same address defined in your main.ts configuration file. Then run the Storybook dev server with:
npm run storybook
License
MIT License (MIT): see LICENSE.
References
统计信息
- 总下载量: 65.25k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 54
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-05-07