No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    framework -> components removed for quasar/app 2

    Framework
    2
    3
    105
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      amoss last edited by

      Hi

      I changed all: “auto” to importStrategy: “auto” as described in the upgrade guide. While all the components are loaded automatically and are show, one specific component is shown from within a template

      progressTemplate: function() {
         return {
            template: Vue.component("bindChip", {
               template: `<q-chip dense size="md" outline :label="prLabel" :style="prColor"/>`,
                  data() {
                     return {};
                 },
              },
      ....
      

      Because of that, quasar didn’t load this component automatically and I needed to manually put it in framework -> components. When I did, everything worked.

      framework: {
         iconSet: "material-icons", // Quasar icon set
         lang: "en-us", // Quasar language pack
         components: ["QChip"],
      }
      

      q2 upgrade guide says to remove the components section so I did. Now obviously the component does not show. Adding the components back, didn’t make any difference. What can I do in this scenario to bring the chip back?

      Thanks

      metalsadman 1 Reply Last reply Reply Quote 0
      • metalsadman
        metalsadman @amoss last edited by metalsadman

        @amoss import it, ie.

        import { QChip } from 'quasar'
        ...
          components: {
            QChip
          }
        ...
        
        1 Reply Last reply Reply Quote 0
        • A
          amoss last edited by

          Yeah… silly me. Thanks.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post