const clamp = (min, v, max) => Math.min(max, Math.max(min, v));
let bbox = yourBlock.getBoundingClientRect();
let x = clamp(bbox.left, e.clientX, bbox.right)
let y = clamp(bbox.top, e.clientY, bbox.bottom)
export default new Router({
routes: [
{
path: '/signin',
component: SignIn
meta: { hideHeader: true }
}
]);
<header v-if="!$route.meta.hideHeader">
...
<path> и <marker>