GithubHelp home page GithubHelp logo

storybook-nx-show's Introduction

StorybookNxShow

This repository contains the following applications:

And the following libraries:

The applications use the libraries, according to the framework they are built with.

What this repo is about

Generating Storybook configuration with Storybook v7

Checkout the branch storybook7-setup:

git checkout storybook7-setup

This branch contains the setup for Storybook v7. The commands that were ran are the following:

For React + Vite

npx nx g @nrwl/react:storybook-configuration --storybook7Configuration --storybook7UiFramework=@storybook/react-vite --project=react-app-vite --generateStories
npx nx g @nrwl/react:storybook-configuration --storybook7Configuration --storybook7UiFramework=@storybook/react-vite --project=react-vite-ui-button
--generateStories

etc for all the projects that use React + Vite.

For React + Webpack

npx nx g @nrwl/react:storybook-configuration --storybook7Configuration --storybook7UiFramework=@storybook/react-webpack5 --project=react-app-wp --generateStories
npx nx g @nrwl/react:storybook-configuration --storybook7Configuration --storybook7UiFramework=@storybook/react-webpack5 --project=react-rollup-ui-banner
--generateStories

etc for all the projects that use React + Vite.

For Next

npx nx g @nrwl/react:storybook-configuration --storybook7Configuration --storybook7UiFramework=@storybook/nextjs --project=next-app --generateStories
npx nx g @nrwl/react:storybook-configuration --storybook7Configuration --storybook7UiFramework=@storybook/nextjs --project=next-ui-banner
--generateStories

etc for all the projects that use React + Vite.

For Angular

npx nx g @nrwl/angular:storybook-configuration --storybook7Configuration --storybook7UiFramework=@storybook/angular --project=ng-app --generateStories
npx nx g @nrwl/angular:storybook-configuration --storybook7Configuration --storybook7UiFramework=@storybook/angular --project=ng-ui-banner
--generateStories

etc for all the projects that use React + Vite.

For Web Components

npx nx g @nrwl/storybook:configuration --storybook7Configuration --storybook7UiFramework=@storybook/web-components-vite --project=web-vite-app
npx nx g @nrwl/storybook:configuration --storybook7Configuration --storybook7UiFramework=@storybook/web-components-webpack5 --project=web-webpack-app

etc for all the projects that use React + Vite.

Migrate Storybook configuration from version 6 to version 7

Checkout the branch storybook6-setup:

git checkout storybook6-setup

and see what the repository looks like when using Storybook v6.

Checkout the branch storybook6-setup-migrate-7 (git checkout storybook6-setup-migrate-7) and see what the repository looks like after we run the following command:

npx nx g @nrwl/storybook:migrate-7

storybook-nx-show's People

Contributors

mandarini avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.