When migrating from v2.3 to v3 and trying to keep a similar neat component-based folder and file structure (as per the old tutorial), how do we load data from the stache file? We previously used can.view to load the template file but with can.stache this isn’t supported? Maybe I’m missing something?
I’ve got a new separate component js file, is it best to include the stache template directly in the component view as per the below example as this doesn’t seem as neat as before.
We aren’t using steal and are loading Can from the CDN. Is there recommended way to load components in this scenario? I’ll investigate using StealJS and steal-stache though if that’s the way to go.