I started to use compodoc + storybook in a Angular 9 project.
Installed all the dependencies and Storybook is working fine, but for some reason the documentation.json generated by compodoc is empty, like this:
{
"pipes": [],
"interfaces": [],
"injectables": [],
"classes": [],
"directives": [],
"components": [],
"modules": [],
"miscellaneous": [],
"routes": [],
"coverage": {
"count": 0,
"status": "low",
"files": []
}
}
Run Code Online (Sandbox Code Playgroud)
The command I'm using is:
compodoc -p .storybook/tsconfig.json -e json -d ./.storybook
Run Code Online (Sandbox Code Playgroud)
And my tsconfig.json is:
{ …
Run Code Online (Sandbox Code Playgroud)