diff --git a/CHANGELOG.md b/CHANGELOG.md index ad76406..f9a22e1 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 1.0.1 (Dec 10, 2018) + +- Add missing dependencies and upgrade some dependencies. + ## 1.0.0 (Dec 9, 2018) - Supports scoped css. diff --git a/README.md b/README.md index 75f441d..e3dc972 100755 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # markdown-to-vue-loader -[![Build Status](https://img.shields.io/travis/fengyuanchen/markdown-to-vue-loader.svg)](https://travis-ci.org/fengyuanchen/markdown-to-vue-loader) [![Coverage Status](https://img.shields.io/codecov/c/github/fengyuanchen/markdown-to-vue-loader.svg)](https://codecov.io/gh/fengyuanchen/markdown-to-vue-loader) [![Downloads](https://img.shields.io/npm/dm/markdown-to-vue-loader.svg)](https://www.npmjs.com/package/markdown-to-vue-loader) [![Version](https://img.shields.io/npm/v/markdown-to-vue-loader.svg)](https://www.npmjs.com/package/markdown-to-vue-loader) ![Dependencies](https://img.shields.io/david/fengyuanchen/markdown-to-vue-loader.svg) +[![Build Status](https://img.shields.io/travis/fengyuanchen/markdown-to-vue-loader.svg)](https://travis-ci.org/fengyuanchen/markdown-to-vue-loader) [![Coverage Status](https://img.shields.io/codecov/c/github/fengyuanchen/markdown-to-vue-loader.svg)](https://codecov.io/gh/fengyuanchen/markdown-to-vue-loader) [![Downloads](https://img.shields.io/npm/dm/markdown-to-vue-loader.svg)](https://www.npmjs.com/package/markdown-to-vue-loader) [![Version](https://img.shields.io/npm/v/markdown-to-vue-loader.svg)](https://www.npmjs.com/package/markdown-to-vue-loader) [![Dependencies](https://img.shields.io/david/fengyuanchen/markdown-to-vue-loader.svg)](https://www.npmjs.com/package/markdown-to-vue-loader) > Markdown to Vue component loader for [Webpack](https://webpack.js.org). diff --git a/docs/dist/main.js b/docs/dist/main.js index 32b4858..a1f6f92 100644 --- a/docs/dist/main.js +++ b/docs/dist/main.js @@ -1,7 +1,7 @@ -!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=27)}([function(e,t,n){"use strict";function r(e,t,n,r,o,i,a,s){var c,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),i&&(l._scopeId="data-v-"+i),a?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},l._ssrRegister=c):o&&(c=s?function(){o.call(this,this.$root.$options.shadowRoot)}:o),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var f=l.beforeCreate;l.beforeCreate=f?[].concat(f,c):[c]}return{exports:e,options:l}}n.d(t,"a",function(){return r})},function(e,t,n){"use strict";var r=n(2),o=n.n(r);t.default=o.a},function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r;e.exports={source:"# Vue code blocks\n\n> Vue code block will be loaded as a Vue component by default.\n\n```vue\n<template>\n <p :style="{ color: 'green' }">{{ message }}</p>\n</template>\n\n<script>\nexport default {\n data() {\n return {\n message: 'This is a code block of Vue component.',\n };\n },\n};\n</script>\n\n<style scoped>\np {\n border-radius: .25rem;\n border: 1px solid #eee;\n margin-bottom: 1rem;\n padding: .5rem 1rem;\n}\n</style>\n```\n\n<!-- no-vue-component -->\n\n```vue\n<template>\n <p>This is a code block of Vue component too, but will not be loaded as a Vue component because of the predefined <code>&lt;!-- vue-component --&gt;</code> comment.</p>\n</template>\n```\n",components:{"component-vue-0":(r={data:function(){return{message:"This is a code block of Vue component."}}},"function"==typeof r&&(r=r()),"object"!==n(r)&&(r={}),r.mixins=(r.mixins||[]).concat([{name:"component-vue-0",template:'
\n

{{ message }}

\n
',beforeCreate:function(){var e=document.createElement("style");e.textContent="\n.component-vue-0 p {\n border-radius: .25rem;\n border: 1px solid #eee;\n margin-bottom: 1rem;\n padding: .5rem 1rem;\n}\n",document.head.appendChild(e),this.$styleInjectedByMarkdownToVueLoader=e},beforeDestroy:function(){var e=this.$styleInjectedByMarkdownToVueLoader;e.parentNode.removeChild(e)}}]),r)}}},function(e,t,n){"use strict";var r=n(4),o=n.n(r);t.default=o.a},function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r;e.exports={source:"# HTML code blocks\n\n> HTML code block will be loaded as a Vue component by default.\n\n```html\n<p class="html-code-block">This is a code block of HTML.</p>\n\n<script>\nwindow.onload = function () {\n document.querySelector('.html-code-block').style.color = 'green';\n};\n</script>\n\n<style>\n.html-code-block {\n border-radius: .25rem;\n border: 1px solid #eee;\n margin-bottom: 1rem;\n padding: .5rem 1rem;\n}\n</style>\n```\n\n<!-- no-vue-component -->\n\n```html\n<p>This is a code block of HTML too, but will not be loaded as a Vue component because of the predefined <code>&lt;!-- vue-component --&gt;</code> comment.</p>\n```\n",components:{"component-html-0":(r=void(window.onload=function(){document.querySelector(".html-code-block").style.color="green"}),"function"==typeof r&&(r=r()),"object"!==n(r)&&(r={}),r.mixins=(r.mixins||[]).concat([{name:"component-html-0",template:'

This is a code block of HTML.

\n\n\n\n\n
',beforeCreate:function(){var e=document.createElement("style");e.textContent="\n.html-code-block {\n border-radius: .25rem;\n border: 1px solid #eee;\n margin-bottom: 1rem;\n padding: .5rem 1rem;\n}\n",document.head.appendChild(e),this.$styleInjectedByMarkdownToVueLoader=e},beforeDestroy:function(){var e=this.$styleInjectedByMarkdownToVueLoader;e.parentNode.removeChild(e)}}]),r)}}},function(e,t,n){"use strict";var r=n(6),o=n.n(r);t.default=o.a},function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r;e.exports={source:"# JavaScript code blocks\r\n\r\n> JavaScript code block will **NOT** be loaded as a Vue component by default.\r\n\r\n```js\r\nexport default {\r\n template: '<p>This is a code block of JavaScript.</p>'\r\n};\r\n```\r\n\r\n<!-- vue-component -->\r\n\r\n```js\r\nexport default {\r\n template: '<p style="border-radius: .25rem; border: 1px solid #eee; color: green; margin-bottom: 1rem; padding: .5rem 1rem;">This is a code block of JavaScript too, and will be loaded as a Vue component because of the predefined <code>&lt;!-- vue-component --&gt;</code> comment.</p>'\r\n};\r\n```\r\n",components:{"component-javascript-1":(r={template:'

This is a code block of JavaScript too, and will be loaded as a Vue component because of the predefined <!-- vue-component --> comment.

'},"function"==typeof r&&(r=r()),"object"!==n(r)&&(r={}),r.mixins=(r.mixins||[]).concat([{name:"component-javascript-1"}]),r)}}},function(e,t,n){"use strict";var r=n(8),o=n.n(r);t.default=o.a},function(e,t){e.exports={source:"# Other code blocks\r\n\r\n> The other code blocks will **NOT** be loaded as a Vue component by default.\r\n\r\n```shell\r\nnpm i markdown-to-vue-loader --save-dev\r\n```\r\n\r\n```css\r\n.color {\r\n color: blue;\r\n}\r\n```\r\n\r\n```text\r\nLorem ipsum dolor sit amet, consectetuer adipiscing elit,\r\nsed diam nonummy nibh euismod tincidunt ut laoreet dolore\r\nmagna aliquam erat volutpat.\r\n```\r\n"}},function(e,t,n){var r=n(22);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);(0,n(28).default)("76c998b0",r,!1,{})},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";var r=n(17),o=n(1),i=n(0),a=Object(i.a)(o.default,r.a,r.b,!1,null,null,null);a.options.__file="docs/src/examples/vue.md",t.default=a.exports},function(e,t,n){"use strict";var r=n(15),o=n(3),i=n(0),a=Object(i.a)(o.default,r.a,r.b,!1,null,null,null);a.options.__file="docs/src/examples/html.md",t.default=a.exports},function(e,t,n){"use strict";var r=n(18),o=n(5),i=n(0),a=Object(i.a)(o.default,r.a,r.b,!1,null,null,null);a.options.__file="docs/src/examples/javascript.md",t.default=a.exports},function(e,t,n){"use strict";var r=n(16),o=n(7),i=n(0),a=Object(i.a)(o.default,r.a,r.b,!1,null,null,null);a.options.__file="docs/src/examples/others.md",t.default=a.exports},function(e,t,n){"use strict";var r=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"html"},[t("h1",[this._v("HTML code blocks")]),this._v(" "),this._m(0),this._v(" "),t("component-html-0"),this._m(1),this._v(" "),this._m(2)],1)},o=[function(){var e=this.$createElement,t=this._self._c||e;return t("blockquote",[t("p",[this._v("HTML code block will be loaded as a Vue component by default.")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("pre",{pre:!0},[t("code",{pre:!0,attrs:{class:"language-html"}},[this._v("

This is a code block of HTML.

\n\n