Comparing
#1 with
#2
Revision #2 was created by
samdark on Aug 27, 2019, 9:43:50 PM.
Fixed configuring paths since just setting aliases was not enough
Tags
structure,application structure
Content
[...]
```php
$config = [
// ...
'basePath' => dirname(__DIR__) . '/src',
// ...
'aliases' => [
'@vendor'runtimePath' => dirname(__DIR__) . '/
vendorruntime',
'@runtime'vendorPath' => dirname(__DIR__) . '/
runtime',
// ...
],vendor',
// ...
];[...]
// ...
'basePath' => dirname(__DIR__) . '/src',
// ...
'aliases' => [
'@vendor' => dirname(__DIR__) . '/vendor',
'@runtime' => dirname(__DIR__) . '/runtime',
// ...
]'runtimePath' => dirname(__DIR__) . '/runtime',
'vendorPath' => dirname(__DIR__) . '/vendor',
// ...
];
```
That's it now you have both console and web application source code in `src`.