Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Is there way to import dynamic-form in one component instead of global app.use() ? #240

Open
vutran6853 opened this issue Jun 17, 2021 · 4 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@vutran6853
Copy link

Describe the bug
Is there way to import dynamic-form in one component instead of global app.use()?

@alvarosabu alvarosabu self-assigned this Sep 24, 2021
@alvarosabu alvarosabu added feature documentation Improvements or additions to documentation and removed feature labels Sep 24, 2021
@alvarosabu
Copy link
Collaborator

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?

@ADCJustinH
Copy link

Yes, startup performance. Would be great to just pull this in where/when needed

@alvarosabu
Copy link
Collaborator

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

@ADCJustinH
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants