You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When accessing the story for a component that imports a ts file that exports the component props type, it generates the following warnings:
[15:51:54] WARN Neither '~/components/ExampleComponent/ExampleComponent.vue' nor '~/components/ExampleComponent/ExampleComponent.js(x)' or '~/components/ExampleComponent/ExampleComponent/index.js(x)' or '~/components/ExampleComponent/ExampleComponent/index.ts(x)
' could be found in 'D:/Projects/exampleProject/components/ExampleComponent'
Something to note is, that the story still works as expected. The warning is something that bothers.
The text was updated successfully, but these errors were encountered:
My best guess without having seen the project or storybook's main.ts would be that storybook does not pickup on your tsconfig aliases. To test this, switch out the ~ for the relative path.
I used the viteFinal function in the .storybook/main.ts to add paths, just for reference.
When accessing the story for a component that imports a ts file that exports the component props type, it generates the following warnings:
Something to note is, that the story still works as expected. The warning is something that bothers.
The text was updated successfully, but these errors were encountered: