DEV Community

Discussion on: My first Vue npm package

Collapse
 
hildorjr profile image
Hildor Júnior

Thanks for replying, so in this case what do you suggest? Maybe assigning the array to a "const brandNumbers"?

Collapse
 
htnpro profile image
Alexandr Vanilchuk

I can recommend you to create @/constants.js and import it.
In the future, it will help you to scale your component.

Thread Thread
 
hildorjr profile image
Hildor Júnior

Right, great idea, i will be implementing this soon!

Thanks, Alexandr.

Thread Thread
 
htnpro profile image
Alexandr Vanilchuk

Feel free to contact me.
I'm interested to write the same component for my own project. :)