Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-13164

Fix limitation in the globally registered components

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 14.3.0
    • None
    • None
    • 0
    • Quasar
    • Puma Sprint 234, Puma Sprint 235, Puma Sprint 236

    Description

      Currently, the SDK components should be registered in the `main.ts` file:

      Vue.component('br-component', BrComponent);
      Vue.component('br-manage-content-button', BrManageContentButton);
      Vue.component('br-manage-menu-button', BrManageMenuButton);
      Vue.component('br-page', BrPage);
      
      Vue.component('br-banner', BrBanner);
      Vue.component('br-content', BrContent);
      Vue.component('br-menu', BrMenu);
      Vue.component('br-news-list', BrNewsList);
      

      This limitation requires some boilerplate code in the end-user application.

      Requirements:
      Provide the possibility to register SDK components in the application components on-demand:

      @Component({
        components: { BrPage },
      })
      

      Attachments

        Issue Links

          Activity

            People

              ntrajkovski Nikola Trajkovski
              mdokolin Mikhail Dokolin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: