Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#1928·vue-multiselect

CDN docs: register component as multiselect instead of vue-multiselect

Author: muscodevCreated Mar 28, 2026Updated Apr 5, 2026

Description The current CDN example in the documentation shows: refer https://vue-multiselect.js.org/#sub-getting-started:

app.component('vue-multiselect', window['vue-multiselect'].default)

While this works technically, it registers the component under .

The standard usage in templates is , so for clarity and consistency, the registration should be:

app.component('multiselect', window['vue-multiselect'].default)

Suggested change Update the CDN example to:

app.component('multiselect', window['vue-multiselect'].default)

This makes it match the template examples and avoids confusion for users following the docs.

Source: shentao/vue-multiselect

View original on GitHubView discussion on GitHub