Difference between #193 and #194 of
Yii v2 snippet guide

Revision #194 has been created by rackycz on May 7, 2020, 11:01:05 AM with the memo:

Bootswatch
« previous (#193) next (#195) »

Changes

Title unchanged

Yii v2 snippet guide

Category unchanged

Tutorials

Yii version unchanged

2.0

Tags unchanged

tutorial,beginner,yii2

Content changed

[...]
```html
<link href="<?=Yii::$app->getUrlManager()->getBaseUrl()?>/css/bootstrap-bootswatch-united.min.css" rel="stylesheet">
```

Now you technically do not need the original bootstrap.css file
yso you can remove it in "basic/config/web.php" by adding the assetManager section to "components":

```php
'components' => [
// https://stackoverflow.com/questions/26734385/yii2-disable-bootstrap-js-jquery-and-css
'assetManager' => [
[...]
7 0
4 followers
Viewed: 258 063 times
Version: 2.0
Category: Tutorials
Written by: rackycz
Last updated by: rackycz
Created on: Sep 19, 2019
Last updated: 6 months ago
Update Article

Revisions

View all history