I’m installing DatePicker.
-
Copied all files under vendor/yiisoft/yii2-jui
-
Added into extensions.php
'yiisoft/yii2-jui' =>
array (
'name' => 'yiisoft/yii2-jui',
'version' => '2.0.4',
'alias' =>
array (
'@yii/jui' => $vendorDir . '/yiisoft/yii2-jui',
),
),
Now when i try
<?= $form->field($model, 'date')->widget(\yii\jui\DatePicker::classname(), [
//'language' => 'pl',
//'dateFormat' => 'yyyy-MM-dd',
]) ?>
I get this error:
The file or directory to be published does not exist: D:\_xampp7\htdocs\szkolenia/vendor\bower/jquery-ui
First thing that strikes is that slashes are mixed with backslashes. Where can i fix it?
Now i don’t want to use composer.
I tried it on Windows but don’t understand what it does except problems and i’m going to move my app between systems (probably linux and freebsd) and i dont want to install composer every time.