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!