[V 1.0] How should plugins be installed and best practises?
-
In earlier versions of Quasar a plugin could be added via the CLI
for example:quasar new plugin vuelidate
What are the best practices for incorporating plugins in Quasar v1.0?
-
they renamed it to boot now, like so
quasar new boot vuelidate
in your case, will make your vuelidate.js file at src/boot foolder. -
quasar new b <boot file name>
-
Thanks!
I found this thread in the CLI forum topic if anyone’s interested in more info:
https://forum.quasar-framework.org/topic/3140/is-quasar-new-plugin-deprecated-in-1-0-beta -
It was renamed to
boot
because people were getting them confused with Quasar plugins (like Dialog).
It also make sense because you can useVue.use
before Vue is instantiated.