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

    Own Mixins in quasar 0.15-beta

    Help
    2
    3
    1082
    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.
    • bestog
      bestog last edited by

      Hello,

      I’m currently trying out the next version 0.15 (beta) and wanted to put my current project there. I use in the 0.14 project mixins in the “main.js”. How can I get the smooth into the new structure? Is there a way to include it via the “quasar.conf.js”?

      PS: I use the Vue-instance in the mixins.

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

        Anything you used to do in main.js you now do in plugins.

        First make sure you have the latest quasar cli

        npm update quasar-cli
        

        Then initiate your plugin

        quasar new plugin <plugin name>
        

        Finally add your plugin in quasar.conf.js

        1 Reply Last reply Reply Quote 2
        • bestog
          bestog last edited by

          Ah okay. Thank you! 🙂

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