I’m using a popup view to load a page via a data url as follows:
<template>
<div class="popup combo-crud-popup">
<div class="view view-init" data-url="/combo-crud/${props.id}"></div>
</div>
</template>
<script>
export default (props, {}) => {
console.log(props) // I want to pass the full props object to the route in the data-url above
return $render;
};
</script>
I can pass a single attribute in the data-url (for example ${props.id}
), but I really want to be able to pass the full props object to the /combo-crud/
page.
[ Start Page ] —{props}—>[ Popup View ]—{props}—>[ Page loaded into view by data-url]
Is there some way to pass the props
object in the route?