Answer the question
In order to leave comments, you need to log in
How to globally import individual lodash functions in Vue?
Hello.
There is a project on Vue.js. It uses lodash.
At the moment lodash is connected globally like this:
import _ from 'lodash';
Object.defineProperty(Vue.prototype, '_', { value: _ });
Answer the question
In order to leave comments, you need to log in
About CSS - you are thinking in a very right direction, if I understand your purpose correctly. But you must understand that this is a solid crutch. If you had outlined the problem more specifically, you would have been offered a narrower solution here.
Regarding the load, it will depend on the picture itself. If it's not very big, somewhere up to 4000X4000, then it will be enough, and then hangups can go on, most likely.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question