Vue-styleguidist: Vue.use is undefined

Created on 14 Sep 2017  路  5Comments  路  Source: vue-styleguidist/vue-styleguidist

I need to run install() from a plugin in order to generate documentation examples but available vue class into .md files doesn't have .use() function. How can I achieve this?

All 5 comments

Hi @rmartins90, I tried to explain how add vue plugins in the style guide, here:

https://github.com/vue-styleguidist/vue-styleguidist/blob/master/docs/Cookbook.md#how-to-add-mixins-or-third-party-plugins-to-the-style-guide

The croud team also made a great example.

https://github.com/CroudSupport/Croud-Style-Guide/blob/master/src/mixins/styleguidist.js

Great! Thank you for answer and for the excellent lib.

Thanks!

Sorry but this is not working properly. The following libs doesn't work (for example):

Do you have any idea why?

Hi @rmartins90,

I have been able to use both libraries in this example, I hope that this can help you

https://github.com/rafaesc/vue-styleguidist-demo

Cheers,
Rafael

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lancetharper picture lancetharper  路  5Comments

andreydos picture andreydos  路  6Comments

simonwjackson picture simonwjackson  路  5Comments

RaffaeleCanale picture RaffaeleCanale  路  4Comments

fishkes picture fishkes  路  7Comments