-
Notifications
You must be signed in to change notification settings - Fork 920
Closed
Description
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.
aphofstede, egoist, c01nd01r and andreasvirkus