Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
7c7ef600
Commit
7c7ef600
authored
Nov 21, 2013
by
Carsten Brandt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
guide about using bootstrap less files
parent
9e1fa1f7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
bootstrap-widgets.md
docs/guide/bootstrap-widgets.md
+19
-0
No files found.
docs/guide/bootstrap-widgets.md
View file @
7c7ef600
...
@@ -45,3 +45,22 @@ framework features. All widgets belong to `\yii\bootstrap` namespace:
...
@@ -45,3 +45,22 @@ framework features. All widgets belong to `\yii\bootstrap` namespace:
-
NavBar
-
NavBar
-
Progress
-
Progress
-
Tabs
-
Tabs
Using the .less files of Bootstrap directly
-------------------------------------------
If you want to include the
[
Bootstrap css directly in your less files
](
http://getbootstrap.com/getting-started/#customizing
)
you may need to disable the original bootstrap css files to be loaded.
You can do this by setting the css property of the
`BootstrapAsset`
to be empty.
For this you need to configure the
`assetManagner`
application component as follows:
```
php
'assetManager'
=>
[
'bundles'
=>
[
'yii\bootstrap\BootstrapAsset'
=>
[
'css'
=>
[],
]
]
]
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment