Skip to content

How can we associate a single template with multiple view models? – Magento 2

I want to associate another custom view model with a template. The template already has a view model in the core file. Can I associate an other custom view model with this template?