I am trying to keep 2 separate template folder(s) for desktop
and mobile
. But I am not able to figrueout the correct way.
Any one help me for this?
If I am wrong, please correct me.
here is my requirement what I looking for :
I am trying to keep 2 separate template folder(s) for desktop
and mobile
. But I am not able to figrueout the correct way.
Any one help me for this?
If I am wrong, please correct me.
here is my requirement what I looking for :
There may be a better way to achive this.
But to solve your need, you can use the templateName
property of the route.
Here is the updated twiddle.