yii2support
yii2support copied to clipboard
Failed to resolve view file with aliase
What steps will reproduce the problem?
Define custom asias
[
'@views' => '@frontend/views_new',
]
Try to render some element in layout
<?= $this->render('@views/layouts/elements/header') ?>
What is the expected result?
View path is resolved correctly. No error
What do you get instead?
Additional info
Q | A |
---|---|
IDE Name | PhpStorm |
IDE Version | PhpStorm 2019.1 Build #PS-191.6183.95 |
Plugin version | v0.10.57.23 |
Yii App Template | advanced |