@nativescript/storybook
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-alpha.0 • Public • Published

@nativescript/storybook

Storybook for NativeScript

npm install @nativescript/storybook @valor/nativescript-websockets

Note: 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 init

2. Create stories

You can create a {component}.stories.ts|js next to any component. Refer to storybook docs on writing stories:

3. Run Storybook

ns debug ios|android --env.storybook

License

Apache License Version 2.0

/@nativescript/storybook/

    Package Sidebar

    Install

    npm i @nativescript/storybook

    Weekly Downloads

    6

    Version

    1.0.0-alpha.0

    License

    Apache-2.0

    Unpacked Size

    94.6 kB

    Total Files

    63

    Last publish

    Collaborators

    • mukaschultze
    • nativescript-user
    • tns-bot
    • lini
    • tachev
    • rosen-vladimirov
    • stoskov
    • rosen_vladimirov
    • walkerrunpdx
    • bradmartin
    • davecoffin
    • rigor789
    • nativescript-bot
    • multishiv19
    • eddyverbruggen
    • edusperoni
    • facetious
    • tdermendjiev
    • sis0k0