I'm trying to add the storybook plugin docs, and it wanted me to add '../src/*/.mdx'
but it looks like your template already had that, all good, but when I try to view it and see if I have the docs tab, I get the following error.
[vite] Internal server error: Failed to parse source for import analysis because the content contains invalid JS syntax. You may need to install appropriate plugins to handle the .mdx file format, or if it's an asset, add "**/*.mdx" to assetsInclude in your configuration.
Plugin: vite:import-analysis
File: /path/to/directory/src/Configure.mdx:32:7
This is the template I started using and I haven't really done much to it.
https://github.com/winkerVSbecks/storybook-html-templates-demo/
My main.ts is unchanged from the template and already had ../src/**/*.mdx
any idea why that's happening?
The documentation here:
https://github.com/storybookjs/storybook/tree/next/code/addons/docs/web-components#installation
Shows I should have a custom-elements.json manufest, but I don't have that anywhere. I saw some examples out there but I don't know what is supposed to go into it or if that is the problem here.