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: {

nativescript-vue

<p align="center"> <img src="https://user-images.githubusercontent.com/879060/205505950-70769439-ff3e-4ecc-b0cd-1385483a847c.jpg"> <i>Yes, the image needs to be updated :)</i> </p>

MIT
Latest version published 2 months ago

Package Health Score

72 / 100
Full package analysis

Similar packages