Commit c85c9d60 by Qiang Xue

Merge pull request #6052 from ArgosOleg/patch-1

Broken link
parents 41c167b9 20b3ec22
...@@ -184,7 +184,7 @@ classes and keep presentation in [views](structure-views.md). ...@@ -184,7 +184,7 @@ classes and keep presentation in [views](structure-views.md).
Widgets should be designed to be self-contained. That is, when using a widget, you should be able to just drop Widgets should be designed to be self-contained. That is, when using a widget, you should be able to just drop
it in a view without doing anything else. This could be tricky if a widget requires external resources, such as it in a view without doing anything else. This could be tricky if a widget requires external resources, such as
CSS, JavaScript, images, etc. Fortunately, Yii provides the support for [asset bundles](structure-asset-bundles.md), CSS, JavaScript, images, etc. Fortunately, Yii provides the support for [asset bundles](structure-assets.md),
which can be utilized to solve the problem. which can be utilized to solve the problem.
When a widget contains view code only, it is very similar to a [view](structure-views.md). In fact, in this case, When a widget contains view code only, it is very similar to a [view](structure-views.md). In fact, in this case,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment