It is some wierd camel case auto conversion nonesense that vue does.
I cannot find the relevant info or solution right now but suffice to say, if you rename useAsEndpoint
to useasendpoint
it will work.
Joe (head maintainer of dasboard 2) probably knows the answer off the top of his head
PS, please tag posts about dashboard 2 with dashboard-2 to avoid additional confusion.