Open H0onnn opened 3 months ago
Hi, thanks for opening this issue.
Could you please share a screenshot from your console? Maybe we can find some additional information from there. Plus, I'd try to remove fallbackImport
from your configuration.
Hello, @danilowoz Thank you for the reply !
Below is the console log.
Is the apiToken wrong? It has the same format as 123_121234 and consists of a total of 9 characters excluding ''.
Your token should be following strucutre: csb_v1_xxxx_xxxx-xxxx-xxxx
. Maybe you're using team-id instead of the API token?
@danilowoz
It seems that all apiTokens are not displayed because I am an invited general member. I'll have to ask the recharts team about this.
Hello, @danilowoz !
If I add fallbackImport: 'recharts'
,
To indicate that all components should be imported from recharts we get something like that sandbox where it imports CategoricalChart instead of the correct AreaChart, etc.
This means that we need an Import map in the meta of each story ?
Hello, I am trying to apply this addon to an open source project called
recharts
.I went through the process below, but an error is occurring.
process
npm i @codesandbox/storybook-addon --save-dev
storybook/main.ts
storybook/preview.ts
error message
I couldn't find a solution due to lack of references.
Any help would be greatly appreciated.