storybook
storybook copied to clipboard
[`this.view`](https://github.com/pixijs/storybook/blob/d3e16da2eba686bca6aac21dff018806aa33024f/packages/example-v8/stories/BunnyDemo.js#L33) is undefined in bunny example, running with latest `pixi/storybook`. [`this`](https://github.com/pixijs/storybook/blob/d3e16da2eba686bca6aac21dff018806aa33024f/packages/storybook-renderer/src/render.ts#L33-L46) is the arrow function instead of the story object, so `this.view.rotation` fails with undefined reference.
Adds support for Vite, closes https://github.com/pixijs/storybook/issues/1. Created packages for `@pixi/storybook-preset-vite` and `@pixi/storybook-vite` by copying the Webpack ones and modifying them to use Vite.  Screenshot from example repo: https://github.com/GregVGW/pixi-storybook-playground Have...
I got this error when i add my components in the dependencies. `Support for the experimental syntax 'flow' isn't currently enabled` Any idea?
There are different ways to integrate localization into Pixi app/game, so usage of i18next is not required. But most tutorials and docs are jumping around `react-i18next` and its integration. So...
It will be great to use `@storybook/addon-interactions` to automate some more complex animations that goes one after another. There is no point to use `@storybook/testing-library` for Pixi stories (as it...
Example in this repo uses next story format: ``` import { action } from '@storybook/addon-actions'; import { BunnyDemo } from './BunnyDemo'; export default { title: 'Demos-Basic', args: { bunnySize: 5,...
If `.storybook/preview.js` content differs from README sample then JS crashes can occur. It is related to destructing inside the renderer package. Minimal working "parameters" are: ``` export const parameters =...
Current example in this repo defines a fixed background color. Is there a way to link @storybook/addon-backgrounds with pixi background setting? As @storybook/addon-backgrounds doesn't change anything, maybe it worth to...
To make it work, we need to expose `PIXI.Application` instance to a `globalThis`. This will let all stories be open to debug and investigate in the Pixi layout perspective.
Firstly, just wanted to say thanks for creating this project - it's exactly what I was looking for. I am using Vite in my app and was wondering if you'd...