Skip to content

Vue-Loader for generating styleguides #423

@K3TH3R

Description

@K3TH3R

I've been thinking about styleguides over the last few days after a discussion in the Vue slack channel with Alexander Hofstede. I'm not entirely sure if this would actually be something that would fit inside of the scope of Vue-Loader, but I think this is where it makes the most sense to at least start the discussion because the syntax I'm thinking of is quite related to Vue-Loader's existing component spec. I published a gist outlining the deeper ideas and reasoning, but the general idea is to add one more tag to the Vue-Loader component spec:

<styleguide lang="markdown">
  This area would allow virtually any kind of markdown text, comments, etc. 
</styleguide>

<template>
  // ...
</template>

<script>
  // ...
</script>

<style>
  // ...
</style>

And then we could use the markup from that tag to generate a component tree/styleguide based on the structure of existing projects.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions