Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't use as a component #2

Open
ghost opened this issue Dec 16, 2019 · 3 comments
Open

Can't use as a component #2

ghost opened this issue Dec 16, 2019 · 3 comments

Comments

@ghost
Copy link

ghost commented Dec 16, 2019

Hi, that form builder looks very promising, exactly what I need.
However I can't make it work following ReadMe.

I have installed it with npm, used template example ( copy - paste), but looks like
import QFormBuilder from 'q-form-builde
doesn't give component, rather it gives object with different components for field types.
so I am getting error:
[Vue warn]: Failed to mount component: template or render function not defined.

does it work as an npm package ? or I have to make it manually from your code ?

@baggachipz
Copy link
Owner

I've had problems running it as a npm package, due to including vue twice because of the dependency. I'm trying to get that to work but so far only can when actually including the libraries in the project and using them that way. Have you tried that?

@ghost
Copy link
Author

ghost commented Dec 17, 2019

I did make it work by copying files to my project as a vue component.
Are you going to develop it further? I think you should as it's has big potential.
I am having warning
Options props is deprecated, add sortable options directly as vue.draggable item, or use v-bind. See https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/migrate.md#options-props

I will try to change it. I really like it, I will add option for compact render for q-inputs.

@iabukai
Copy link

iabukai commented Jan 21, 2020

I faced the same issue.
I can agree with @uneasymusic. It could be a great tool

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants