This repository was archived by the owner on Mar 29, 2023. It is now read-only.
- Notifications
You must be signed in to change notification settings - Fork6
This repository was archived by the owner on Mar 29, 2023. It is now read-only.
$store is undefined inside OfficeLayer #34
Open
Description
Describe the bug
I tried to create my own Modal component using OfficeLayer. It seems that Vuex $store is not "pushed" to the components inside OfficeLayer slot.
To Reproduce
- Use the OfficeLayer component like this for example:
<template> <OfficeLayer> <div> <div> <template v-if="title">{{title}}</template> <button @click="$emit('closeModal')">Fermer</button> </div> <SaveAttachments/> </div> </OfficeLayer></template>
- Inside the child component of OfficeLayer ("SaveAttachments" in above case), try to access $store.
- $store is undefined
Expected behavior
$store in child component should be accessible.