Answers for "vue rails turbolink don't load"

0

vue rails turbolink don't load

// 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);
Posted by: Guest on January-07-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language