alexjoverm / alexjoverm/v-runtime-template

Access to global components

Offen
#43 1 Kommentar 3 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
601
Forks
71
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.