Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Y
yii2bootstrap
Project
Project
Details
Activity
Releases
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
夏彬
yii2bootstrap
Commits
2c4ed78a
Commit
2c4ed78a
authored
May 29, 2015
by
Klimov Paul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'Asset Bundles' topic added to the docs.
parent
f90a610e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
README.md
docs/guide/README.md
+1
-0
asset-bundles.md
docs/guide/asset-bundles.md
+16
-0
No files found.
docs/guide/README.md
View file @
2c4ed78a
...
...
@@ -21,6 +21,7 @@ Usage
*
[
Yii widgets
](
usage-widgets.md
)
*
[
Html helper
](
helper-html.md
)
*
[
Asset Bundles
](
asset-bundles.md
)
Additional topics
-----------------
...
...
docs/guide/asset-bundles.md
0 → 100644
View file @
2c4ed78a
Asset Bundles
=============
Bootstrap is a complex front-end solution, which includes CSS, JavaScript, fonts and so on.
In order to allow you most flexible control over Bootstrap components, this extension provides several asset bundles.
They are:
-
[
[yii\bootstrap\BootstrapAsset|BootstrapAsset
]
] - contains only main CSS files.
-
[
[yii\bootstrap\BootstrapPluginAsset|BootstrapPluginAsset
]
] - depends on
[
[yii\bootstrap\BootstrapAsset
]
], contains javascript files.
-
[
[yii\bootstrap\BootstrapThemeAsset|BootstrapThemeAsset
]
] - depends on
[
[yii\bootstrap\BootstrapAsset
]
], contains Bootstrap default theme CSS.
Particular application needs may require different bundle (or bundle combination) usage.
If you need only CSS styles,
[
[yii\bootstrap\BootstrapAsset
]
] will be enough for you. However, if
you want to use Bootstrap JavaScript, you need to register
[
[yii\bootstrap\BootstrapPluginAsset
]
].
> Tip: most of the widgets register [[yii\bootstrap\BootstrapPluginAsset]] automatically.
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