Skip to content
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

Module not found @storybook/addon-knobs/vue #2560

Closed
DrSensor opened this issue Dec 25, 2017 · 1 comment
Closed

Module not found @storybook/addon-knobs/vue #2560

DrSensor opened this issue Dec 25, 2017 · 1 comment
Labels

Comments

@DrSensor
Copy link

Issue details

I'm trying to use poi for prototyping component. So far so good without knobs but when I added this to config.js

import { configure, addDecorator } from '@storybook/vue'
import { withKnobs } from '@storybook/addon-knobs/vue'

addDecorator(withKnobs)

It gives me this error

module not found:

- @storybook/addon-knobs/vue: imported at ~/Projects/OSS/vue-annotator/src/stories/index.js

I believe this is an issue in @storybook/addon-knobs because when I open the folder node_modules/@storybook/addon-knobs there is no vue.js nor vue/index.js and no files: {} in package.json

Version

  • @storybook/vue 3.2.19
  • @storybook/addon-knobs 3.2.19
@danielduan danielduan added the vue label Dec 25, 2017
@Hypnosphi
Copy link
Member

Those files were introduced only in version 3.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants