Get started | Install our snippet
Give Feedback

Vue

Updated on December 22, 2022

Here is a way to load the snippet with Vue.js

new Vue({
    mounted: () => {
        const s = document.createElement('script');

        window.jimo = [];
        s.type = 'text/javascript';
        s.async = true;
        s.src = "https://undercity.usejimo.com/jimo-invader.js";
        window['JIMO_PROJECT_ID'] = "ID_OF_YOUR_PROJECT"; // Update this
        document.getElementsByTagName('head')[0].appendChild(s);
    }
}).$mount('#app')