-
-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No intellisense available for Histoire components #146
Comments
@Akryum I've done those steps. In the repo I linked to you can see the reference to histoire has been added to the |
It was a regression with the extraction of vue3 project logic into a separate package. |
Describe the bug
When I open the Vue3 example project in my VSCode I get suggestions for the Histoire components and their props. This is super useful as I don't have visit any documentation website. When I use Histoire in my own project I don't get these suggestions. When I move the Vue3 example folder out of the Histoire root folder I also don't get any intellisense on the Histoire components.
VSCode intellisense doesn't suggest any Histoire components in my project and has no type information for the
Story
component.It also doesn't suggest any of the props:
Hovering over the
Story
component in the Vue3 example gives me the following info:It also gives suggestions for the props:
Is there supposed to be intellisense available for the Histoire components? Is there some configuration step I have missed?
Reproduction
I've created a new Vue3 project using
npm init vue@next
, afterwards I've added Histoire to the project using the steps described in the documentation.I've create a repository with the project and an example story for the
HelloWorld.vue
component. The repository can be found here.System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: