How to use the nativescript-vue/dist/index.prototype function in nativescript-vue

To help you get started, we’ve selected a few nativescript-vue examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github tralves / nativescript-vue-webpack-template / app.js View on Github external
const Vue = require('nativescript-vue/dist/index')
const http = require("http")

import JsComponent from './JsComponent';
import VueComponent from './VueComponent';

Vue.prototype.$http = http

new Vue({
  components: {
    JsComponent,
    VueComponent
  },

  template: `
    
      
        
        
      
    
  `,
  methods: {