lib/generators/generator_templates/turbolinks/turbolinks-pack.js.erb in vuejs-1.1.0.beta8 vs lib/generators/generator_templates/turbolinks/turbolinks-pack.js.erb in vuejs-1.1.0.beta9
- old
+ new
@@ -8,11 +8,11 @@
<% if options['seperate'] -%>
import App from '../parts/<%= name %>/<%= name %>.vue'
<% else -%>
import App from '../parts/<%= name %>.vue'
<% end -%>
-Vue.use(TurbolinksAdapter)
+Vue.use(TurbolinksAdapter)
document.addEventListener('turbolinks:load', () => {
if(isView("###")){
const <%= name %> = new Vue({
render: h => h(App)
}).$mount('#<%= name %>')
\ No newline at end of file