debian-mirror-gitlab/app/assets/javascripts/commons/vue.js

13 lines
324 B
JavaScript
Raw Normal View History

2017-08-17 22:00:37 +05:30
import Vue from 'vue';
2019-12-21 20:55:43 +05:30
import GlFeatureFlagsPlugin from '~/vue_shared/gl_feature_flags_plugin';
2021-10-27 15:23:28 +05:30
import Translate from '~/vue_shared/translate';
2017-08-17 22:00:37 +05:30
if (process.env.NODE_ENV !== 'production') {
Vue.config.productionTip = false;
}
2019-12-21 20:55:43 +05:30
Vue.use(GlFeatureFlagsPlugin);
2021-10-27 15:23:28 +05:30
Vue.use(Translate);
2021-04-17 20:07:23 +05:30
Vue.config.ignoredElements = ['gl-emoji'];