Skip to content
Snippets Groups Projects
Select Git revision
  • Sprint/2020-20
  • master default protected
  • gitkeep
  • dev protected
  • Issue/1321-pidEnquiryOverhaul
  • czepiel-devops
  • Sprint/2022-01
  • Hotfix/1911-fixFormatting
  • Sprint/2021-22
  • Issue/1743-changedLink
  • Product/1107-frontendPerformance
  • Topic/1227-frontendPerformance
  • Product/1215-gitlabCleanUp
  • Product/943-NewLogo
  • Topic/1087-NewLogo
  • Sprint/2020-19
  • Product/505-pidPage
  • Topic/1061-pidPageApp
  • v1.3.0
  • v1.2.2
  • v1.2.1
  • v1.2.0
  • v1.1.1
  • v1.1.0
  • v1.0.0
25 results

postcss.config.js

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    SearchModule.vue 876 B
    <template>
      <div>
        <router-view v-if="moduleIsReady" />
      </div>
    </template>
    
    <script lang="ts">
    import { defineComponent } from "vue-demi";
    import { SearchI18nMessages } from "./i18n";
    
    // import the store for current module
    import { useSearchStore } from "./store";
    // import the main store
    import { useMainStore } from "@/store/index";
    
    export default defineComponent({
      setup() {
        const mainStore = useMainStore();
        const searchStore = useSearchStore();
    
        return { mainStore, searchStore };
      },
      i18n: { messages: SearchI18nMessages },
    
      created() {
        this.initialize();
      },
    
      computed: {
        moduleIsReady(): boolean {
          return true;
        },
      },
    
      methods: {
        async initialize() {
          // do initialization stuff (e.g. API calls, element loading, etc.)
          // ...
          this.searchStore.retrieveSearchResults();
        },
      },
    });
    </script>