Nested Folders Structure for Components

Our use case is as follows:

  • We are building a Web Application on top of Losant Experience Pages
  • Our intention is to structure the Code on a per-component basis, like this:
    • component/someComponent/htmlCode.hbs

    • component/someComponent/jsCode.hbs

    • component/someComponent/cssCode.hbs

  • We tried using the component helper in these ways
    • {{ component “component/htmlCode.hbs” }}

    • {{ component “./component/htmlCode.hbs” }}

    • {{ component “/component/htmlCode.hbs” }}

None of those worked the way we expected, i.e., including the htmlCode.hbs file.

So, the question is:

  • Is there a way of achieving this in Losant?

Thanks in advance!

Hi @Agustin_Wolkovicz,

At this time, this formatting and functionality is not currently supported. However, I think it could be valuable to allow for some customization to allow for nesting within the experience resource files. We are creating a ticket, and will let you know if it is selected for development.

Please let me know if you have any additional questions.