Giter Club home page Giter Club logo

Comments (7)

rmartins90 avatar rmartins90 commented on May 13, 2024 1

If you create a component extending another one would be cool to make parent props available on styleguidist - https://vuejsdevelopers.com/2017/06/11/vue-js-extending-components/

from vue-styleguidist.

rafaesc avatar rafaesc commented on May 13, 2024 1

Hi everybody,

I almost finished it, I will upload an update tomorrow, also fix #116

Regards

from vue-styleguidist.

rafaesc avatar rafaesc commented on May 13, 2024

Hi, @rmartins90,

I'm not sure of understanding which is the extended components

from vue-styleguidist.

ebess avatar ebess commented on May 13, 2024

👍

from vue-styleguidist.

thenickname avatar thenickname commented on May 13, 2024

Hey, the same goes for mixins. It seems that props and other stuff from mixins is not documented in the component where the mixin is applied.

If you want, I can open a separate issue for this. But it seemed to me that documenting mixed in props, methods, etc. is similar to documenting Extends...

from vue-styleguidist.

0m4r avatar 0m4r commented on May 13, 2024

to have mixins stuff documented you need to add

/**
 * @mixin
 */

in your mixin file, see https://github.com/vue-styleguidist/vue-styleguidist/blob/master/docs/Documenting.md#include-mixins

but please mind #116

from vue-styleguidist.

rafaesc avatar rafaesc commented on May 13, 2024

Hi,

I have already updated a new version with supporting of extends, on version 1.7.4.

You can read the documentation, here:
https://github.com/vue-styleguidist/vue-styleguidist/blob/master/docs/Documenting.md#include-mixins-and-extends

Regards

from vue-styleguidist.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.