📅  最后修改于: 2022-03-11 15:03:58.038000             🧑  作者: Mango
// Just remove
document.addEventListener('turbolinks:load', () => {..}
// if you use it, it's not necessary...
// You only have to have:
Vue.use(TurbolinksAdapter)
Vue.use(VueResource);
const app = new Vue({
el: '#app',
render: h => h(App)
}).$mount()
document.body.appendChild(app.$el);