Own Mixins in quasar 0.15-beta
-
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.
-
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
-
Ah okay. Thank you!