Route::get('/{path?}', [
'uses' => 'ReactController@show',
'as' => 'react',
'where' => ['path' => '.*']
]);
import {HashRouter} from 'react-router-dom';
Yii::$app->log->targets['file']->enabled = false;
'targets' => [
'file' => [
'class' => 'yii\log\FileTarget',
'enabled' => false
],
]