issues Search Results · repo:unplugin/unplugin-vue-components language:TypeScript
Filter by
531 results
(57 ms)531 results
inunplugin/unplugin-vue-components (press backspace or delete to remove)在官方文档说明中,默认情况下 (在没有配置 types 属性时),unplugin-vue-components 会在支持的库(例如vue-router)安装到工作区时自动检测并在 components.d.ts 文件中添加其类型。
现在我自定义注册了一些全局组件,希望将它们在 components.d.ts 文件中标注类型,例如:
import Components from unplugin-vue-components/vite ...
Syeeling
- 1
- Opened 4 days ago
- #855
Describe the bug
We are using aliased components per: https://vuetifyjs.com/en/features/aliasing/#virtual-component-defaults
In our example ours looks like this:
aliases: {
VSecondaryBtn: VBtn, ...
dparish
- 1
- Opened 5 days ago
- #854
Describe the bug
When I use ElementPlusResolver to auto import element-plus component In the vue3 project. But it is not auto import in
.jsx file
the vite.config.js like this:
{
plugins:[
AutoImport({ ...
ngd-b
- 1
- Opened 6 days ago
- #852
比如我有一个 tsx 文件:
export const A = (props) {
return div A /div
}
export const B = (props) {
return div B /div
}
1. 这个文件可能没有默认导出;
2. 可能只有一个命名导出,也可能是多个;
3. 可能需要识别是否是组件?
4. 使用 resolvers 尝试了一下,如果是用 ...
prettylikeme
- Opened 11 days ago
- #851
Describe the bug
CRLF 文件\r\n 无法命中 /[ ]?([^\s ]+)[ ]?\s*:\s*(.+?)[,;\n]/g 表达式,导致我的components.d.ts文件运行dev时原有的内容被清空了剩下少量的组件
Reproduction
...
System Info
System:
OS: Windows 10 10.0.18363
CPU: ...
289420843
- Opened 19 days ago
- #847
Clear and concise description of the problem
目前痛点
1. 由于是懒加载,当使用 scss 的时候访问到需要加载资源的时候会非常慢,没有个二三十秒加载不完,并且需要进行二次访问路由才能完成请求。
2. 重启服务后又要重新搞一遍,又是慢非常多,能否加入本地缓存,没有改动就不要再次编译了。
Suggested solution
1. 是否可以在程序启动的时候就开始编译 ...
enhancement
WangJincheng4869
- 2
- Opened on Jun 12
- #846
Hey, thanks for the great plugin.
I tried to create two different instances of the plugin to be used within a Vite/Vue project. However, the registered
resolvers of only the first instance were actually ...
agnes-ze-yerman
- Opened on May 10
- #841
We are having issue with this with other components that contain the same name. We only need this for PrimeVue, so how
can we disable it automatically trying to resolver everything, and only try to resolve ...
johnwc
- 2
- Opened on Apr 21
- #838
Describe the bug
Hello, I personally tested that it was ineffective in rspack or Rsbuild. Here is my testing process:
1. Create a project for Rsbuild:
pnpm create rsbuild@latest
2. rsbuild.cnfig.mjs: ...
sytana
- 4
- Opened on Apr 21
- #837

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.