In this vue2-example, If I want to declare a component globally (named globalComponent), but this component needs subcomponents (I suppose to be declared or loaded before globalComponent), in what folder should I put these déclarations?
The globalComponent will be called by many others that need it to be declared before them. So, it could be declared in /lib, but this components needs subcomponents. How can I load something before things in /lib?
AND, if possible, I do not want to explicitly import them, but that advantage of the automatic global load (outside /imports)
Also, I do not know if /lib is also loaded on server side.
Hi Guillaume, I am stuck and wanted your opinion.
In this vue2-example, If I want to declare a component globally (named globalComponent), but this component needs subcomponents (I suppose to be declared or loaded before globalComponent), in what folder should I put these déclarations? The globalComponent will be called by many others that need it to be declared before them. So, it could be declared in /lib, but this components needs subcomponents. How can I load something before things in /lib? AND, if possible, I do not want to explicitly import them, but that advantage of the automatic global load (outside /imports)
Also, I do not know if /lib is also loaded on server side.
Thanks, Marc