There was a need to override the carousel.js carousel file from bootstrap . Content BootstrapAsset
Code: Select All
public $sourcePath = '@bower/bootstrap/dist'; public $css = [ 'css/bootstrap.css', ]; As you can see, BootstrapAsset refers to @bower/bootstrap/dist , and everything in the bootstrap.min.js file is in a heap. And I only need to override carousel.js in @bower/bootstrap/js . Tell me how to correctly override one file and point it to a link in BootstrapAsset , so as not to affect the rest?