tiny-vue icon indicating copy to clipboard operation
tiny-vue copied to clipboard

🐛 [Bug]: 文档问题

Open cqder opened this issue 1 year ago • 3 comments

Version

latest

Vue Version

latest

Link to minimal reproduction

https://opentiny.design/tiny-vue/zh-CN/os-theme/docs/import-components

Step to reproduce

引入组件 -》自动导入(推荐)-》Vite 中: plugins: [autoImportPlugin()] 在使用electron-vite创建的项目中于‘electron.vite.config.mjs’文件中按文档步骤执行后,运行项目会报错。 查询autoImportPlugin后, 依据“@opentiny/unplugin-tiny-vue/dist/index.d.ts”如下注释中: /** TinyVue 自动导入组件的插件,支持Vite,Webpack,Rollup 等常见的构建工具。

  • 目前不支持Tiny Icon的自动导入
  • @example
  • import autoImportPlugin from '@opentiny/unplugin-tiny-vue'
  • plugins: [autoImportPlugin('vite')] */

将plugins: [autoImportPlugin()]修改为‘plugins: [autoImportPlugin('vite')]’后,能成功运行项目。 请更新文档内容

What is expected

No response

What is actually happening

No response

What is your project name

demo

Any additional comments (optional)

No response

cqder avatar Apr 27 '24 17:04 cqder

Bot detected the issue body's language is not English, translate it automatically.


Title: 🐛 [Bug]: Documentation problem

Issues-translate-bot avatar Apr 27 '24 17:04 Issues-translate-bot

@cqder 收到,感谢你的反馈~

kagol avatar May 06 '24 02:05 kagol

Bot detected the issue body's language is not English, translate it automatically.


@cqder Received, thank you for your feedback~

Issues-translate-bot avatar May 06 '24 02:05 Issues-translate-bot

文档已更新

shenjunjian avatar Aug 01 '24 02:08 shenjunjian

Bot detected the issue body's language is not English, translate it automatically.


Documentation updated

Issues-translate-bot avatar Aug 01 '24 02:08 Issues-translate-bot