Skip to content

Commit

Permalink
Load phaser in example project
Browse files Browse the repository at this point in the history
  • Loading branch information
mcfarljw committed Feb 24, 2018
1 parent 0104d61 commit 1437a3c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import 'vuetify/dist/vuetify.min.css'
import Phaser from 'phaser'
import Vue from 'vue'
import Vuetify from 'vuetify'
import VuexRouterSync from 'vuex-router-sync'
Expand All @@ -18,7 +19,8 @@ function start () {
store
})

app.$mount('#app')
window.app = app.$mount('#app')
window.game = new Phaser.Game()
}

if (isCordova()) {
Expand Down

0 comments on commit 1437a3c

Please sign in to comment.