Skip to content

Instantly share code, notes, and snippets.

@jrgleason
Last active September 15, 2019 17:02
Show Gist options
  • Save jrgleason/b2a3fb61469d02ea46fdc2349e0461ef to your computer and use it in GitHub Desktop.
Save jrgleason/b2a3fb61469d02ea46fdc2349e0461ef to your computer and use it in GitHub Desktop.
Simple Vuetify Example
#scripts(hidden)
script(src="//npmcdn.com/axios/dist/axios.min.js")
script(type="module")
| import Vue from '/vue/vue.esm.browser.js'
| const global = window || global;
| global.Vue = Vue;
script(type="module")
| import * as Vuetify from '/vuetify/dist/vuetify.js';
| const global = window || global;
| global.Vue.use(Vuetify);
| let app = new global.Vue({
| render: function (createElement) {
| return createElement(Viewport)
| }
| });
| app.$mount('#jg-app');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment