Questions tagged [nativescript-vue]

NativeScript plugin for using Vue.js in NativeScript mobile apps.

NativeScript-Vue is a plugin that enables the use of Vue.js in NativeScript mobile apps.

https://nativescript-vue.org/

743 questions
4
votes
2 answers

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
Cem Kaan
  • 2,086
  • 1
  • 24
  • 55
4
votes
3 answers

nativescript-vue tns generated application get TypeError: Cannot read property 'on' of undefined

I generate an application as suggested by https://github.com/nativescript-vue/vue-cli-template: vue init nativescript-vue/vue-cli-template test03 cd test03 npm install tns build android tns preview At preview stage, I get the following…
John Zen
  • 81
  • 4
4
votes
1 answer

How to properly initialize Vuex store on app startup using rest API?

I want to initialize the store with some data that is fetched from API (I'm using axios) How can I do this on app startup, only once? I have a store.js file that exports my store and a main.js file that does this: import Vue from…
yukashima huksay
  • 5,834
  • 7
  • 45
  • 78
4
votes
3 answers

CSS Loader Invalid Options options should NOT have additional properties

New nativescript-vue developer here... I am suddenly getting tns build errors on every /components/*.vue file when I run my normal build routine: $ rm -rf node_modules/ hooks/ platforms/ package-lock.json $ tns build ios --bundle --env.config…
sonoerin
  • 5,015
  • 23
  • 75
  • 132
4
votes
1 answer

How to get elementById in Nativescript?

I'm using nativescript with vue.js and I'm trying to do something like DOM operation. This is sample code from my template:
4
votes
0 answers

Integrating nativescript-paytm plugin in nativescript-vue application

I'm having a nativescript-vue application where I want to integrate nativescript-paytm plugin, I created a method on click event: payNow() which contains all the necessary details of Paytm as described in Readme.md/documentation/demo app. import { …
4
votes
1 answer

Nativescript: add icon and specify name

How would i add a custom icon with a given name to my nativescript project using the tns resources generate icons-command $tns resources generate icons ~/myfolder/myspecialicon.png Say i want the command to place the icon(s) in the correct folders…
4
votes
2 answers

Nativescript vue, how to get the .apk file?

By following nativescript docs, installed all dependencies and tns doctor dont find any error. and followed a tutorial and ran the following commands, npm install -g @vue/cli @vue/cli-init vue init nativescript-vue/vue-cli-template hello-vue cd…
arun
  • 4,595
  • 5
  • 19
  • 39
3
votes
0 answers

Migrate NativeScript 6.5.1 to 8.1.4 problems with TextField of Nativescript-vue and WebPack 5

When try to migrate NS 6.5.1 to NS 8.1.4 TextField fail. I use: @nativescript-cli@8.1.4 @nativescript/core@8.1.5 Node v16.13.0 NPM v8.1.0 After ns clean I execute ns doctor: $ ns doctor Error while loading nativescript-cloud is: Default commands…
3
votes
1 answer

NativeScript-vue: Unable to display local HTML in WebView

I'm using NativeScript-vue. I want to use WebView to display an HTML file in a local asset. src/components/App.vue: