@storybook/docs doesn't use the loaded compodoc .json file
See original GitHub issueDescribe the bug After following the https://github.com/storybookjs/storybook/tree/next/addons/docs/angular instructions. Storybook fails to show the component information in the Docs tab.
It loads the json file because setCompodocJson is called and that sets the global variable
But it isn’t used when selecting the doc tab.
Am i missing something?
To Reproduce Steps to reproduce the behavior:
- open / extract files cs-shared - Copy.zip
- run
yarn install
- run
yarn storybook
- See error
Expected behavior That the generated compodoc information is used to show the compodoc generated props
Issue Analytics
- State:
- Created 4 years ago
- Reactions:6
- Comments:23 (8 by maintainers)
Top Results From Across the Web
Empty documentation.json in Compodocs + Storybook + ...
We have both files, but I think compodoc does not understand that tsconfig.app.json ... Use tsconfig.base.json instead of tsconfig.json.
Read more >storybook-addon-compodoc
In your config.js Storybook file provide url where your Compodoc generated documentation is deployed using configureCompodoc and add global decorator using ...
Read more >angular/angular-cli - Gitter
Hi, can someone tell me how angular-cli is telling webpack to use the different environment files. I under stand how they determine the...
Read more >compodoc - Bountysource
For the moment, Compodoc ignores .spec files. ... yarn storybook yarn run v1.22.15 $ ng run cioplenu:storybook compodoc -p .storybook/tsconfig.json -d ...
Read more >webpack < 5 used to include polyfills for node.js core modules ...
I have tried using a custom webpack.config, messed with tsconfig.json ... doesn't exist or is not a directory \node_modules\@storybook\node_modules doesn't ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Steve’s repro is incomplete tho, the AppComponent stories.ts file just exports the CSF metadata and no story. The other stories are from
@storybook/angular/demo
components, and those doesn’t have properties extracted by compodoc.@sl-benjamindupuy we will need a repro with the configuration that you’re using to see if there’s a missing detail.
Congratulations!!! 🎉 (on both fronts, but more on the twins – that’s amazing!!!)