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

    how to register a custom global component in quasar 0.17.7

    Help
    2
    2
    1461
    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.
    • M
      mohanzeal last edited by

      I started using quasar framework for my new project. I want to register a component globally… we used to do that in main.js by importing vue and using Vue.use(‘component’, funciton () {}) but I don’t see main.js in quasar as quasar handles it internally… I think so.

      So how can I acheive registering a custom global component(not quasar components which are handled in quasar.conf.js) in quasar project initialized with quasar cli?

      1 Reply Last reply Reply Quote 0
      • s.molinari
        s.molinari last edited by

        Check out that app plugin section of the docs. This is how to add stuff to Vue through Quasar’s plugin system.

        https://quasar-framework.org/guide/app-plugins.html

        Scott

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