Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | import Vue from 'vue'; import { s__ } from '~/locale'; import PackagesListApp from '~/packages_and_registries/infrastructure_registry/list/components/packages_list_app.vue'; import { createStore } from '~/packages_and_registries/infrastructure_registry/list/stores'; import Translate from '~/vue_shared/translate'; Vue.use(Translate); export default () => { const el = document.getElementById('js-vue-packages-list'); const store = createStore(); store.dispatch('setInitialState', { ...el.dataset, forceTerraform: true }); return new Vue({ el, store, components: { PackagesListApp, }, provide: { noResultsText: s__( 'InfrastructureRegistry|Terraform modules are the main way to package and reuse resource configurations with Terraform. Learn more about how to %{noPackagesLinkStart}create Terraform modules%{noPackagesLinkEnd} in GitLab.', ), }, render(createElement) { return createElement('packages-list-app'); }, }); }; |