ratiw / vuetable-2-tutorial

MIT License
258 stars 67 forks source link

[Vue warn]: Unknown custom element: <vuetable-field-sequence> #114

Open alao115 opened 5 years ago

alao115 commented 5 years ago

Hi everyone.... I need your help please with this stuff:

When i try to use a special field any one between the five fields, I got : [Vue warn]: Unknown custom element: <vuetable-field-{{the field name here}}> in my console..

Here are the examples:

-[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option. -[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option. -[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.

here is my code: `

`

gabeta commented 5 years ago

I had the same problem. The problem was that I had installed the version

npm install vuetable-2 @ next --save

And I was using the old doc instead of the one corresponding to my installed version https://www.vuetable.com/

For the costomized fields I have to add this object in my fields table  {  name: 'actions',  title: 'Actions', titleClass: 'text-center',  dataClass: 'text-center', width: '15% ' } and <div slot = "actions" slot-scope = "props"> ........ </ Div> inside the vuetable tag