From eda96895e29064287107d4f79b78db163d6c9aba Mon Sep 17 00:00:00 2001 From: Zhwt Date: Fri, 3 Jan 2020 16:22:42 +0800 Subject: [PATCH 1/2] Temporary resolution for issue#251 --- docs/recipes/vue-component.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/recipes/vue-component.md b/docs/recipes/vue-component.md index a964885b..2538c952 100644 --- a/docs/recipes/vue-component.md +++ b/docs/recipes/vue-component.md @@ -8,6 +8,8 @@ yarn add rollup-plugin-vue vue-template-compiler vue --dev bili src/MyComponent.vue ``` +Due to [an issue with rollup-plugin-vue](https://github.com/vuejs/rollup-plugin-vue/issues/303), windows users should use rollup-plugin-vue 5.1.1. + Otherwise you need to add `rollup-plugin-vue` manually using the CLI flag `--plugin.vue` or config file: ```js From 0a50dc2cf1b003e93b6e59cd3b0612ed6be85e83 Mon Sep 17 00:00:00 2001 From: fi3ework Date: Fri, 1 May 2020 17:13:04 +0800 Subject: [PATCH 2/2] doc: tweak doc --- docs/recipes/vue-component.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/recipes/vue-component.md b/docs/recipes/vue-component.md index 2538c952..a3fc0cd8 100644 --- a/docs/recipes/vue-component.md +++ b/docs/recipes/vue-component.md @@ -8,17 +8,17 @@ yarn add rollup-plugin-vue vue-template-compiler vue --dev bili src/MyComponent.vue ``` -Due to [an issue with rollup-plugin-vue](https://github.com/vuejs/rollup-plugin-vue/issues/303), windows users should use rollup-plugin-vue 5.1.1. - Otherwise you need to add `rollup-plugin-vue` manually using the CLI flag `--plugin.vue` or config file: ```js // bili.config.js module.exports = { plugins: { - vue: true, + vue: true // or with custom options // vue: {} } } ``` + +NOTE: due to [an issue with rollup-plugin-vue](https://github.com/vuejs/rollup-plugin-vue/issues/303), Windows users should use rollup-plugin-vue 5.1.1 or at least [5.1.5](https://github.com/vuejs/rollup-plugin-vue/issues/303#issuecomment-571249003).