b4a8518aaf
* injectable projectId/resourceIdString * WIP presentation viewer wrapper * WIP new viewer core * loading bar styling fix * resize fix * presentation state * minor cleanup * working view load * some optimization * minor adjustment * resourceIdString fix * viewer debug flag
15 lines
597 B
Vue
15 lines
597 B
Vue
<template>
|
|
<div class="viewer-core-post-setup"><slot /></div>
|
|
</template>
|
|
<script setup lang="ts">
|
|
import { useViewerPostSetup } from '~~/lib/viewer/composables/setup/postSetup'
|
|
|
|
/**
|
|
* The only point of this component is to get around the stupid limitation where a component that injects() also can't provide() the same stuff back...
|
|
* So the Viewer root component should invoke `useSetupViewer()` to do all of the `injects()` and then this will invoke `useViewerPostSetup()` which
|
|
* will do extra setup that relies on the state being done and injectable.
|
|
*/
|
|
|
|
useViewerPostSetup()
|
|
</script>
|