Cem Kaan
Cem Kaan

Reputation: 2236

can I use Vuetify in nativescript-vue?

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.

Upvotes: 4

Views: 2686

Answers (2)

Hexodus
Hexodus

Reputation: 12937

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.

Upvotes: 2

Manoj
Manoj

Reputation: 21908

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

Upvotes: 8

Related Questions