1.0.0-alpha.0 • Published 2 years ago
@nativescript/storybook v1.0.0-alpha.0
@nativescript/storybook
npm install @nativescript/storybook @valor/nativescript-websocketsNote: You can use any websocket polyfill however we preconfigure usage with @valor/nativescript-websockets for ease of use and should ensure it's added to your package.json dependencies.
Usage
Using Storybook for NativeScript is easy as 1, 2, 3.
1. Init config
npx @nativescript/storybook init2. Create stories
You can create a {component}.stories.ts|js next to any component. Refer to storybook docs on writing stories:
3. Run Storybook
Run your app:
ns debug ios|android --env.storybookIn a seperate terminal, you can launch the Storybook web manager:
npm startLicense
Apache License Version 2.0
7.0.0-beta.0
2 years ago
1.0.0-alpha.12
2 years ago
1.0.0-alpha.11
2 years ago
1.0.0-alpha.10
2 years ago
1.0.0-alpha.9
2 years ago
1.0.0-alpha.8
2 years ago
1.0.0-alpha.6
2 years ago
1.0.0-alpha.5
2 years ago
1.0.0-alpha.4
2 years ago
1.0.0-alpha.3
2 years ago
1.0.0-alpha.2
2 years ago
1.0.0-alpha.1
2 years ago
1.0.0-alpha.0
2 years ago