How can I load custom .js library globally? #14725
Answered
by
MilosPaunovic
mangelro
asked this question in
General - Components / Directives / etc
-
Is it possible globally load in quasar v2.8.2 + vite v1.1.0 proyect a custom helper library ( .js) ? Functions of this library would be available in all components without using the imports statement. Mainly I would use to implements Array prototypes methods to help me in components logic. Thanks in advance |
Beta Was this translation helpful? Give feedback.
Answered by
MilosPaunovic
Oct 27, 2022
Replies: 1 comment
-
Use boot files. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
rstoenescu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use boot files.
https://quasar.dev/quasar-cli-webpack/boot-files#axios