Skip to content
Snippets Groups Projects
Select Git revision
  • master
  • gitkeep
  • dev protected
  • Sprint/2022-01
  • Sprint/2021-22
  • Sprint/2021-18
  • Sprint/2021-14
  • Hotfix/1656-emailConfirmationTrigger
  • Sprint/2021-04
  • Product/789-userContactEmail
  • Topic/1295-contactChangeUi
  • Sprint/2021-02
  • Product/1273-CleanUpUserProfileProjectCreation
  • Topic/1225-CleanUpApps
  • Product/1107-frontendPerformance
  • Topic/1227-frontendPerformance
  • Product/1215-gitlabCleanUp
  • Topic/1222-apiConnection
  • Product/1027-apiClientGenerator
  • Product/1214-CleanUp
  • v1.5.3
  • v1.5.2
  • v1.5.1
  • v1.5.0
  • v1.4.0
  • v1.3.0
  • v1.2.1
  • v1.2.0
  • v1.1.5
  • v1.1.4
  • v1.1.3
  • v1.1.2
  • v1.1.1
  • v1.1.0
  • v1.0.0
35 results

main.ts

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    main.ts 694 B
    import jQuery from "jquery";
    import Vue from "vue";
    import UserProfile from "./UserProfile.vue";
    import VueI18n from "vue-i18n";
    import { LanguageUtil } from "@coscine/app-util";
    import { BootstrapVue, BSkeleton } from "bootstrap-vue";
    import "@voerro/vue-tagsinput/dist/style.css";
    
    Vue.config.productionTip = false;
    Vue.use(VueI18n);
    Vue.use(BootstrapVue);
    Vue.component("b-skeleton", BSkeleton);
    Vue.component("BIconClipboard", BSkeleton);
    
    jQuery(() => {
      const i18n = new VueI18n({
        locale: LanguageUtil.getLanguage(),
        messages: coscine.i18n.userprofile,
        silentFallbackWarn: true,
      });
    
      new Vue({
        render: (h) => h(UserProfile),
        i18n,
      }).$mount("userprofile");
    });