Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.

Mounting a .ui folder into another hyperdrive not working as expected #1938

Open
tomsansome opened this issue Aug 13, 2021 · 0 comments
Open
Labels

Comments

@tomsansome
Copy link

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

  1. Visit this link for Drive 1: hyper://bb2921f4517abd9b2caccb1d312a94c87c71a0effa1a43a56b8ba34ead2d99fc/template-test.html.
  2. Observe .ui folder. Note: inside .ui/ui.js we have a setup function which is similar to the suggested code in the frontend UI docs. See screenshot 1 below 👇
  3. Visit this link for Drive 2: hyper://45256fc59850959a7d59e9beedc16e382f719d2a0ebcc501a6d6a4fa9811bf1a/.
  4. 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

Screenshot 2021-08-13 at 14 17 32

Environment

  • OS: Mac OSX Catalina 10.15.7
  • Beaker Version: 1.1.0

🌟 Appreciate any help here, thank you very much! 🌟

@tomsansome tomsansome added the bug label Aug 13, 2021
@tomsansome tomsansome changed the title Mounting a .ui folder into another hyperdrive not working Mounting a .ui folder into another hyperdrive not working as expected Aug 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant