How to use aliases?

How to look like a link to switch to yii 2 from the folder frontend in the backend folder?
July 2nd 19 at 17:11
1 answer
July 2nd 19 at 17:13
In official dock there is information https://github.com/yiisoft/yii2-app-advanced/blob/...

@frontend - frontend web application directory.
@backend - backend web application directory.


UPD: Creating links - https://github.com/yiisoft/yii2-app-advanced/blob/...
Url::to('@backend/web/cont/views') right? I have not worked. - mateo_Polli commented on July 2nd 19 at 17:16
Updated the answer - Verna commented on July 2nd 19 at 17:19
:
Url::to('@backend/web/cont/views') right? I have not worked.


and should not Url::to returns the url and alias @backend returns the path from the root servers
You gave the correct help: https://github.com/yiisoft/yii2-app-advanced/blob/... there are all described - Henderson_Beat commented on July 2nd 19 at 17:22

Find more questions by tags Yii