Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function onReady(page) {
const Vue = require('nativescript-vue/dist/index')
Vue.setDocument(page)
const vm = new Vue({
name: 'root',
template: `
<button>TAP HERE</button>
<button style="color: white; background-color: darkcyan;">TAP HERE</button>
<label style="text-align: center; margin-top: 20; font-size: 40"></label>
<button>Tap to see a trick!</button>
<img style="height: 200;">