L
L
Leopandro2016-02-23 04:36:27
Yii
Leopandro, 2016-02-23 04:36:27

How to override an asset?

This is how I wrote in the components according to the guide

'components' => [
    'assetManager' => [
      'bundles' => [
        'vova07\imperavi\Asset' => [
 'sourcePath' => 'your-path',
          'js' => ['redactor.min.js', '@web/js/redactor.min.js']
        ]
      ]
    ],

I still don't understand what to write in sourcePath

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Kirill Arutyunov, 2016-02-23
@arutyunov

From the docks:
Those. in sourcePath you specify the path where the files for this bundle are stored.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question