vue-dynamic-forms
vue-dynamic-forms copied to clipboard
Is there way to import `dynamic-form` in one component instead of global app.use() ?
Describe the bug
Is there way to import dynamic-form
in one component instead of global app.use()
?
Hi, @vutran6853 the library is intended to be added as a plugin. What would be the use-case to only add it on a component, performance?
Yes, startup performance. Would be great to just pull this in where/when needed
I totally see the use case, I guess I didn't think of it in the beginning, I will need to figure out how it can be exported without using the Plugin
I got it to work after startup by importing it dynamically then just adding it via app.use(). Seems to work fine but I'm not an expert so perhaps this is causing issues I'm not seeing yet.