Vuetable-2: Conflicts Vee-validate

Created on 22 Feb 2017  路  2Comments  路  Source: ratiw/vuetable-2

I'm using vee-validate and I'm having a conflict problem with the 'fields' prop.

What can I do to solve it?

Most helpful comment

If you using vee-validate plugin you can init it like this - Vue.use(VeeValidate, {fieldsBagName: 'formFields'})

All 2 comments

If you using vee-validate plugin you can init it like this - Vue.use(VeeValidate, {fieldsBagName: 'formFields'})

I'm using vee-validate with typescript.
When I try the approach: Vue.use(VeeValidate, {fieldsBagName: 'formFields'});

I get the following error:
error TS2345: Argument of type 'typeof "/home/leonard/workspace/ofbiz-hot-deploy/freshmarket/frontend/partner-vue/node_modules/ve...' is not assignable to parameter of type 'PluginObject | PluginFunction'.

Is this a typing issue?
Thanks in advance for any help.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

arthurvasconcelos picture arthurvasconcelos  路  3Comments

chrislandeza picture chrislandeza  路  3Comments

flyingcoder picture flyingcoder  路  3Comments

legreco picture legreco  路  5Comments

larryu picture larryu  路  6Comments