alexjoverm / alexjoverm/v-runtime-template

Access to global components

Aperta
#43 1 commento 3 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
601
Fork
71
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I have this working in a Vuetify app, but in order to use any of the Vuetify components in the template I need to include them in the component I have that uses it:

```
import { VBtn, VCard, VCardActions, VCardTitle, VImg } from "vuetify/lib"
...
components: {
VBtn, VCard, VCardActions, VCardTitle, VImg, ...

```

This is pretty long winded (and there are a lot of them).

Is there a way to be able to access _all_ the global templates from the main Vue instance without referencing them explicitly here.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.