tuchk4 / storybook-readme

React Storybook addon to render README files in github style

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About use <docs> in Vue

npmrun opened this issue · comments

i got a strange bug,

image
then i change your loader code like this:

"use strict";

module.exports = function (source, map) {
  this.callback(null, 'module.exports = function(Component) {Component.options.__docs = `' + source + '`}', map);
};

and remove html-loader.
then it worked !

may i ask this is right?