Skip to content

Instantly share code, notes, and snippets.

@JamieCurnow
Last active October 16, 2018 02:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JamieCurnow/3014bd38dadea19b0985136481c97329 to your computer and use it in GitHub Desktop.
Save JamieCurnow/3014bd38dadea19b0985136481c97329 to your computer and use it in GitHub Desktop.
import Vue from 'nativescript-vue'
import App from './components/App'
// Prints Vue logs when --env.production is *NOT* set while building
Vue.config.silent = (TNS_ENV === 'production')
Vue.registerElement('RadSideDrawer', () => require('nativescript-ui-sidedrawer').RadSideDrawer)
new Vue({
render: h => h('frame', [h(App)])
}).$start()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment