unplugin / unplugin-vue-components

📲 On-demand components auto importing for Vue
https://www.npmjs.com/package/unplugin-vue-components
MIT License
3.65k stars 341 forks source link

feat(bootstrap-vue-next): allow specifying component aliases #757

Closed someonewithpc closed 1 month ago

someonewithpc commented 1 month ago

Description

Allow passing an object map of component aliases for the BootstrapVueNextResolver

Linked Issues

None

Additional context

stackblitz[bot] commented 1 month ago

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

VividLemon commented 1 month ago

Should probably use https://github.com/unplugin/unplugin-vue-components/pull/759 instead. I added this to the resolver that was made in the main package

someonewithpc commented 1 month ago

Should probably use #759 instead. I added this to the resolver that was made in the main package

Uh, okay. In what version of the library is that? The docs didn't mention it, when I checked last, so I resorted to implementing the resolver in my app. Do you mean the aliases parameter to createBootstrap, or would the resolver still be necessary?

VividLemon commented 1 month ago

https://github.com/bootstrap-vue-next/bootstrap-vue-next/releases/tag/bootstrapvuenext-v0.19.0

move unplugin-vue-components component resolver to main package (cf9b942)

https://github.com/bootstrap-vue-next/bootstrap-vue-next/commit/cf9b94214d704e7462ed8ebadf3891e495fbf1f7#diff-8495e7994841a02ea9fafa741445133b253a789261f1caf5aa3df15f71972b0b

docs will be reflected in next update