Mounting a `.ui` folder into another hyperdrive not working as expected
tomsansome opened this issue ยท 0 comments
tomsansome commented
Describe the Bug
I have 2 Hyperdrives:
- Drive 1: A drive with a
.ui
folder at the root which will be my template - Drive 2: A drive which I will run
mount $template-hyperdrive /.ui
on to mount that UI folder into this drive
When I mount the .ui
folder from Drive 1 into Drive 2, the mounted .ui
folder does not override all page-serving as expected.
To Reproduce
- Visit this link for Drive 1:
hyper://bb2921f4517abd9b2caccb1d312a94c87c71a0effa1a43a56b8ba34ead2d99fc/template-test.html
. - Observe
.ui
folder. Note: inside.ui/ui.js
we have asetup
function which is similar to the suggested code in the frontend UI docs. See screenshot 1 below ๐ - Visit this link for Drive 2:
hyper://45256fc59850959a7d59e9beedc16e382f719d2a0ebcc501a6d6a4fa9811bf1a/
. - Observe that
index.html
does not have a surrounding template from the mounted.ui
folder as expected.
Expected Behavior
Drive 2 should use the .ui
folder to override all page-serving. Drive 2 index.html
should have the styling from the mounted .ui
folder.
Screenshots
- Screenshot 1
Environment
- OS: Mac OSX Catalina 10.15.7
- Beaker Version: 1.1.0
๐ Appreciate any help here, thank you very much! ๐