I'm trying to integrate Stencil and Storybook inside the same project. I've been following this set up guide and this one however one of the steps is to publish the library of components to NPM and that's not what I want.  I have this rep...
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...
I am somewhat new to React, and I am trying to do a card swiping mechanism.  I am using this library:  https://www.npmjs.com/package/react-swipe-card  I essentially have a demo Component created:  import React, { Component } from 'react' impo...
I can't seem to get Storybook's webpack to compile my CSS. It throws up on the font files and tells me I may need a loader, but I've added one to the webpack.config.js file it's using.  Here is my webpack.config.js:  const resolve = r...
I'm trying to configure storybook project and get strange error. Error: Uncaught (in promise): Error: Cannot match any routes. URL Segment: 'iframe.html'  Error: Cannot match any routes. URL Segment: 'iframe.html'     at ApplyRedi...
I've been trying to integrate Vulcan.js, a Meteor framework, with Storybook. The difficulty comes from the differences in build system. Currently, we are able to load some specific Meteor packages in Storybook using Webpack.  So, now we need to m...
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(',...
In the process of converting React Stories to use the advised CSF   I'm wondering how can the following (stories that are generated from looping an array of objects) be converted to CSF?  ps: my real array has over 15 items. this is just an examp...
Posting the solution to a problem I had a hard time finding albeit Sensei Googling skills  Although my app with react-router worked without any problem Storybook threw the error "Invariant failed: You should not use  outside ".  Error: Invari...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.