[Feature request] Reference globally registered component to Vetur
See original GitHub issue- I have searched through existing issues
Feature Request
First off all, thanks for this great update! Having props check and component signature is so useful, you are catching up fast with TSX.
I wondered if you though of a way of referencing globally registered components?
For exemple in Nuxt, I have a plugin that register a bunch of components, but the path can be different for all every project. Maybe a config file like vetur.config.js
to indicate a path to the file?
Vue.component('SvgIcon', SvgIcon);
Vue.component('Spinner', Spinner);
Vue.component('Popin', Popin);
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Global components | Vetur - GitHub Pages
Vetur support define global components. You can register template interpolation for that components anywhere in the project. Please add projects.
Read more >Ask Question - Stack Overflow
In the src folder add the file shims-vue.d.ts with the following content : Vue 2 : declare module "*.vue" { import Vue from...
Read more >Globally Registering Vue Components - Fjolt
In this tutorial, we're going to look at how you can globally register a component in Vue, so you never have to reference...
Read more >Effective Guide on Vue components - Appsyoda
You cannot create a meaningful Vue app without components. Here's the easy and effective guide to working with components in vuejs.
Read more >Vetur - Visual Studio Marketplace
Global components : support define global components. Quick Start. Install Vetur. Try it with Veturpack. Refer to setup page for setting up.
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 FreeTop 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
Top GitHub Comments
Add in v0.31.0
Hi everyone, If you interested this issue, you can go to #2377 and #2378. View and post your ideas.