[Vuejs]-Vue.js does not render correctly using template

4👍

It’s because in VueJS 2 delimiters are defined per component, so you have to define them inside the component too:

Vue.component('bin-detail', {
    delimiters: ['<%', '%>'],
    template: '#bin-detail',
    props: ['bin']
});

Leave a comment