Anyone have success setting up a project using VueJS, PostCss, and Tailwind with component development in Storybook?  I've gotten this far:   New vue project (vue-cli 3.0.5) @storybook/vue (4.0.0-alpha.25) tailwindcss (0.6.5) Create component usi...
Is there a way to add authentication to Storybook? I'd want to use authentication in my Storybook project (my preferred auth provider being Auth0).  Is there any add-on that could help me with that? I believe that it's a usual use case and th...
I have a Material UI theme like so:  import { createMuiTheme } from '@material-ui/core/styles'  const primaryColor = '#009baa'  const theme = createMuiTheme({   typography: {     fontFamily: ['custom font here'].join(',...
Im using Storybook to Visualize and Document our React Component Library. Everything working fine exept that do not Show the Code in the Doc Page.  Project Data: Typescript, React, Storybook  Project Dependencies:    "dependencies": {     ...
I doing the storybook tutorial, but in the part of the tutorial when I created and ran the tests, this throws an exception indicating the following error in the file .storybook/config.js:  LOG ERROR  react-scripts test FAIL src/storybook.test.js Test...
I have a working modal component which i need to show in storybook as well. It depends on the props to show and close. For example, if i need to show modal i would have to do the following  const Demo = () => {     const [open, setOpen] = useState...
Good day. My team has implemented Storybook for our React components, and the addon-docs plugin has been added to allow the developers to document the components on Storybook. While the MDX addon works perfectly on Chrome, it throws the following err...
I have a react app that uses react-router-dom for some components.  The app functions correctly with the routers but I want to integrate unit test and integration tests. I have decided to use Jest and Storybook.  I get this error TypeError: parentIns...
I'm writing a story with knobs using storybook 5.1.1. (I don't have the option to upgrade). The addons panel is hidden by default, and closes every time I navigate to a new story. How can I configure the story, or the storybook app, to show t...
I'm new to webpack and I'm trying to load custom fonts into stroybook v4 following this tutorial https://medium.com/@mushti_dev/hey-e6faa20b910a  The workspace structure looks like this (create-react-app + storybook)  my-project/   .storybook...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.