Craft 3: Environment variables are not parsed when used in Assets source field I'm using Craft 3 and I have 2 Sites setup.

In my config/general.php file I have:

return [
    '*' =&gt; [
        'environmentVariables' =&gt; [
            'baseAssetsUrl' =&gt; '//'.strtolower($_SERVER['SERVER_NAME']).'/assets/',
            'baseAssetsPath' =&gt; realpath(dirname(__FILE__)).'/../web/assets',
        ],
    ],

    'craft3uk.dev' =&gt; [
        'timezone' =&gt; 'Europe/London',
        'siteUrl' =&gt; 'http://www.craft3uk.dev/',
    ],

    'craft3me.dev' =&gt; [
        'timezone' =&gt; 'Asia/Dubai',
        'siteUrl' =&gt; 'http://www.craft3me.dev/',
    ],

    'dev' =&gt; [
        'devMode' =&gt; true,
    ],

    'staging' =&gt; [
    ],

    'production' =&gt; [
    ],
];


I can access the variables fine in a template like:

{% set baseAssetsUrl = craft.app.config.general.environmentVariables.baseAssetsUrl %}
{% set baseUploadsUrl = craft.app.config.general.environmentVariables.baseUploadsUrl %}


But when I try using {baseAssetsPath} like this



I get:



I'm a bit confused as I have a Craft 2 site setup the exact same way and this works fine. 

I cannot see anything in the Craft 3 docs regarding this either?

Can anyone help me out please?
Environmental variables as such don't exist "as a thing" in Craft 3. Instead, you'd define your Volumes in the AdminCP and override anything you need in craft/config/volumes.php

You can see an example of how to do it here: Craft 3 Multi-Environment