4

Vuetify seems to be an useful Framework. I was wondering if it's possible to use it inside our NativeScript apps with VUE.js

I have tried :

yarn add vuetify

<v-btn :href="source"
       icon
       large
       target="_blank"
       v-on="on"
      >
       <v-icon large>mdi-code-tags</v-icon>
</v-btn>

But Error says:

No known component for element v-btn.

Cem Kaan
  • 2,086
  • 1
  • 24
  • 55
  • 2
    **NativeScript !== Cordova**, so you can't. Vuetify is purely browser dependent / HTML DOM based components. – Manoj Nov 20 '19 at 21:29

2 Answers2

8

NativeScript !== Cordova, so you can't. Vuetify is purely browser dependent / HTML DOM based components.

Manoj
  • 21,753
  • 3
  • 20
  • 41
2

Though Manoj is right to point out that you can't use it like you intendet to do but you still can use a WebView in NativeScript to display your web application. Some apps in the appstores do just that - they use Nativescript for the Main-UI with device features and the webview to show the web application.

Hexodus
  • 12,361
  • 6
  • 53
  • 72