cartodb-4.42/lib/assets/javascripts/new-dashboard/bundles/footer/footer.js
2024-04-06 05:25:13 +00:00

22 lines
460 B
JavaScript

import Vue from 'vue';
import i18n from 'new-dashboard/i18n';
import Footer from 'new-dashboard/components/Footer';
import getCARTOData from 'new-dashboard/store/utils/getCARTOData';
Vue.config.productionTip = false;
const CARTOData = getCARTOData();
const user = CARTOData.user_data;
/* eslint-disable no-new */
new Vue({
el: '.js-footer',
i18n,
components: { Footer },
data () {
return { user };
},
template: '<Footer :user="user"/>'
});