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

Update guide for Vue to match current requirements #4825

Merged
merged 1 commit into from
Nov 21, 2018
Merged

Update guide for Vue to match current requirements #4825

merged 1 commit into from
Nov 21, 2018

Conversation

y-nk
Copy link
Contributor

@y-nk y-nk commented Nov 21, 2018

Issue:

docs is not up to date regarding Guide for Vue.

What I did

Fixing the doc, added dependencies as they should be. It is separated in 2 parts to highlight dev and peer dependencies.

It will answer to #4505 #4475 and #4821

Side note

As @igor-dv mentioned on Discord, babel-preset-vue is probably not necessary. As seen in this package's homepage, it's a preset to transform JSX in Vue projects, but Vue.js team advices to use template instead for the majority of cases (see here). As we can extend webpack configuration to add loaders easily, it would make more sense to remove babel-preset-vue from the dependencies and advice advanced users of Vue.js to add it themselves following existing SB documentation.

@y-nk y-nk changed the title update npm install to match current requirements update Vue docs npm install part to match current requirements Nov 21, 2018
@y-nk y-nk changed the title update Vue docs npm install part to match current requirements Update guide for Vue to match current requirements Nov 21, 2018
Copy link
Member

@igor-dv igor-dv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@igor-dv igor-dv added the patch:yes Bugfix & documentation PR that need to be picked to main branch label Nov 21, 2018
@igor-dv igor-dv merged commit a3dcfc0 into storybookjs:next Nov 21, 2018
@shilman shilman added the patch:done Patch/release PRs already cherry-picked to main/release branch label Nov 25, 2018
shilman pushed a commit that referenced this pull request Nov 25, 2018
Update guide for Vue to match current requirements
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation patch:done Patch/release PRs already cherry-picked to main/release branch patch:yes Bugfix & documentation PR that need to be picked to main branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants