I actually managed to create a card layout, so that stuff works, although the docs are not quite correct:
index.js
import UsersView from "./components/UsersView.vue";
panel.plugin('texnixe/users-view', {
views: {
Users: {
component: UsersView,
icon: "user",
label: "Users"
}
}
});
And the in UsersView.vue
, copy/paste the stuff from the original users view and play around with the stuff, e.g. add layout="cards"
to the <k-collection>
component.