Same as title, i don't want using bootstrap.css and bootstrap.js. I try using:
'assetManager' => [
'bundles' => [
'yiibootstrapBootstrapAsset' => [
'css' => [],
],
],
],
It remove bootstrap.css but can't remove bootstrap.js. Somebody can help me?
In
web.php
config file add the following code into components array:To be more comprehensive:
in order to disable Css (bootstrap.css):
in order to disable JS (bootstrap.js):
in order to disable JQuery (jquery.js)
In order to have all of them disabled:
UPDATE
As Soju mentioned in comments, another alternative way would be disabling these files in
AppAsset
class, which is located in./assets/
, then remove the following lines: