describo / crate-builder-component

A VueJS UI component to build an RO-Crate
MIT License
6 stars 3 forks source link

Propagate navigation events + add enableInternalRouting config #35

Closed beepsoft closed 1 year ago

beepsoft commented 1 year ago

Just like with other events the new navigation event must be reemitted in Shell.component.wc.vue

Even with this fix and setting enableInternalRouting I don't seem to receive navigation events because here it won't reach event emitting because we don't have $route in the web component:

https://github.com/describo/crate-builder-component/blob/0c26c555fc542bd9c368cc0bd7bd479f4b33493b/src/crate-builder/Shell.component.vue#L193

marcolarosa commented 1 year ago

Sorry about this. I forgot about mapping the changes through the web component!