feat: global component registration
See original GitHub issuewhen I use the component like this
// app.vue
<mp-block>
<Test />
</mp-block>
// test.vue
<template>
<mp-button>111</mp-button>
</template>
it didn’t show normal and has warning that Failed to resolve component: mp-button
, while I try to console.log(this)
in test.vue, it show that it didn’t register any components
while I try console.log(app)
in main.js , it seems normal, what happen???
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
feat: Ionic Vue: Global registration of Ionic components #22182
As described in the Vue 3 doc, enable the global registration of Ionic components to avoid the repetition of lengthy imports & component...
Read more >Component Registration - Vue.js
There are two ways to register components: global and local. Global Registration #. We can make components available globally in the current Vue...
Read more >FEAT/UserGuide - FSL - FslWiki
Structural images for use as "highres" images in registration ... The MELODIC option runs the ICA (Independent Component Analysis) tool in ...
Read more >Network Probe Global Market Report 2022 - Yahoo Finance
Network Probe Global Market Report 2022: Featuring Accedian, Cisco, ... 13, 2022 (GLOBE NEWSWIRE) -- The "Network Probe Market by Component ...
Read more >Newegg.com: Computer Parts, PC Components, Laptops ...
Newegg.com offers the best prices on Computer Parts, PC Components, Laptops, Gaming Systems, Automotive Parts, Office Supplies, and more with fast shipping ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@privatenumber Oh I don’t know it can’t support global component registration. Looking forward to your update
Ah it’s not working because you registered components globally, which is currently not supported.
Changing it to local registration works: https://codepen.io/privatenumber/pen/jOyRVEz?editors=1111
Let’s change this to a feature request to support global component registration