#Storybook - JQuery
2 messages · Page 1 of 1 (latest)
I would probably just add it to the preview-head.html file as described here. https://storybook.js.org/docs/react/configure/story-rendering#adding-to-head
2 messages · Page 1 of 1 (latest)
Hi,
I am having some issues running stories that have <JQuery<HTMLInputElement>. So it gives me this error: $ is not defined. The background behind this is using a datepicker. Does Storybook need special support for JQuery?
I would probably just add it to the preview-head.html file as described here. https://storybook.js.org/docs/react/configure/story-rendering#adding-to-head