whitespace-se / storybook-addon-html

A Storybook addon that extracts and displays compiled syntax-highlighted HTML
Other
95 stars 44 forks source link

Storybook 7 HTML addon showing error #107

Closed sayedbs closed 7 months ago

sayedbs commented 1 year ago

Storybook 7 Html Addon not working it's showing error.

error screensot from browser

this error show when I installed HTML addon in my storybook app. my configuration is:

min.js

    const config ={
        ...,
        addons[...,"@whitespace/storybook-addon-html"]
    }

preview.js

    const  preview  = {
        parameters: {
         html: {
                prettier: {
                    tabWidth:  4,
                    useTabs:  false,
                    htmlWhitespaceSensitivity:  "strict",
                },
    },

Then showing error here: image 1 error image 2

how can I solve it any idea or example solutions plz. Thanks, Advance

42tte commented 1 year ago

Duplicates #104