Install theme in advance template

Hi, how to install a theme using advance template?

I tried this:

In frontend, config-> main.php into componentes i put this:

'view' => [

            'theme' => [

                'pathMap' => ['@app/views' => '@app/themes/mytheme'],

                'baseUrl' => '@web/../themes/mytheme',



I create a folder in app folder ‘themes’, into this folder i put mytheme folder.

Nothing happend, whats wrong?

Thank you.

You can’t get higher than @web since it should be your webroot.