From 6e3652da3ffcb482f2173248d9102378a8cdd80e Mon Sep 17 00:00:00 2001 From: 10Derozan Date: Fri, 2 Feb 2024 16:54:32 +0800 Subject: [PATCH] docs(module-tools): add empty line to fix warning in plugin vue --- .../module-doc/docs/en/plugins/official-list/plugin-vue.mdx | 1 + .../module-doc/docs/zh/plugins/official-list/plugin-vue.mdx | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/document/module-doc/docs/en/plugins/official-list/plugin-vue.mdx b/packages/document/module-doc/docs/en/plugins/official-list/plugin-vue.mdx index 09e8b14db44c..98306e486a76 100644 --- a/packages/document/module-doc/docs/en/plugins/official-list/plugin-vue.mdx +++ b/packages/document/module-doc/docs/en/plugins/official-list/plugin-vue.mdx @@ -8,6 +8,7 @@ Notice that we have some limitation: 1. The current implementation of this plugin integrates directly with the community plugin and therefore does not support writing jsx/tsx in sfc. 2. If you want to generate d.ts for the components, please use the official recommendation [vue-tsc](https://www.npmjs.com/package/vue-tsc). 3. Only support bundle, we recommend to set input to `['src/**/*.vue']` or `['src/index.ts']`. + ::: ## Quick start diff --git a/packages/document/module-doc/docs/zh/plugins/official-list/plugin-vue.mdx b/packages/document/module-doc/docs/zh/plugins/official-list/plugin-vue.mdx index cd6896d23e7d..5feacc56be75 100644 --- a/packages/document/module-doc/docs/zh/plugins/official-list/plugin-vue.mdx +++ b/packages/document/module-doc/docs/zh/plugins/official-list/plugin-vue.mdx @@ -8,6 +8,7 @@ Vue 插件提供了对 Vue 3 组件构建的支持,插件内部集成了 [esbu 1. 目前此插件的实现是直接集成社区插件,因此不支持在 sfc 里写 jsx/tsx。 2. 如果要为组件生成 d.ts,请使用官方推荐方式 [vue-tsc](https://www.npmjs.com/package/vue-tsc)。 3. 仅支持打包场景,推荐将 input 设置为 `['src/**/*.vue']` 或者 `['src/index.ts']`。 + ::: ## 快速开始