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

    is it possible to register a Custom Components via quasar.conf.js ?

    Framework
    2
    2
    368
    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.
    • J
      jeimz173 last edited by

      Hi i just want to know if its possible to register my custom components in quasar.conf.js?
      because i want to make my custom component use it globally without importing it in every pages thank you!

      e.g.

      framework: {
            components: []
      }, 
      customize: {
         components: [
            'SomeComponents'  // in here you can register your custom component
         ]
      }
      

      thank you!

      1 Reply Last reply Reply Quote 0
      • Hawkeye64
        Hawkeye64 last edited by

        Make it a plugin: https://quasar-framework.org/guide/app-plugins.html

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