Access view template HTML content

Hi,

I’m wondering what the easiest way is to access a template html file string content in js is. I have some template files in my project that are not directly used by my component view using naming conventions, but loaded dynamically using <compose view.bind="dynamicViewStrategy"> I know I can return a view using RelativeViewStrategy but what I actually want to do is mash a coulple/few templates together and return the results as an InlineViewStrategy. I know I could just store these templates as string in my project but I’m using html files for easier editing etc. Can I access a view html content in aurelia if I know the view path?

pseudo code:

let viewHTML = getHTMLContentFromPath(’/the/file/is/here.html’)

Depending on the loader you should be able to just import the contents @import './hello.html';