'After deploy storybook code into server it is taking angular components not taking storybook components

  • I deployed the code and run the storybook by using
    "node_modules/.bin/npm run build-storybook --configuration
    production".Build was success But it is taking angular components not taking storybook components.

  • Updated in package.json below command "build-storybook": "npm run docs:json && build-storybook -o ./storybook-static "

    Even though it is displaying angular components not storybook one.Is there any changes require on angular.json file.Please help me I'm completely struck to publish my storybook in server.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source