Answer the question
In order to leave comments, you need to log in
How to properly use "modules" created by reactive frameworks?
Situation:
We are writing an application in vue. One of our developers made a chat component. I would like to make a library out of this component in order to connect a chat similar to npm modules. That is, to prescribe something like this
import Chat from "/libs/chat"
I found the build target article - I assembled the library, but I don't know exactly how to connect it. It comes to mind to import umd, but when I connect I get an error
Object(...) is not a function
Is it an assembly, import, or component problem?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question