From 51cc78b9fe06fdb386219616be36b5edbbea77b0 Mon Sep 17 00:00:00 2001 From: Wei Wei Date: Sat, 2 May 2020 17:23:35 +0800 Subject: [PATCH] docs: add hint for bug of rollup-plugin-vue (#343) * Temporary resolution for issue#251 * doc: tweak doc Co-authored-by: Zhwt --- docs/recipes/vue-component.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/recipes/vue-component.md b/docs/recipes/vue-component.md index a964885b..a3fc0cd8 100644 --- a/docs/recipes/vue-component.md +++ b/docs/recipes/vue-component.md @@ -14,9 +14,11 @@ Otherwise you need to add `rollup-plugin-vue` manually using the CLI flag `--plu // 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).