Commit b6eba658 by Paul Klimov

AssetController config template adjusted.

parent fadc23a3
...@@ -210,7 +210,7 @@ assets file like the following: ...@@ -210,7 +210,7 @@ assets file like the following:
'components' => [ 'components' => [
// ... // ...
'assetManager' => [ 'assetManager' => [
'bundles' => require /path/to/myapp/config/assets_compressed.php, 'bundles' => require '/path/to/myapp/config/assets_compressed.php',
], ],
], ],
``` ```
......
...@@ -585,7 +585,7 @@ return [ ...@@ -585,7 +585,7 @@ return [
], ],
// Asset bundle for compression output: // Asset bundle for compression output:
'targets' => [ 'targets' => [
'app\config\AllAsset' => [ 'app\assets\AllAsset' => [
'basePath' => 'path/to/web', 'basePath' => 'path/to/web',
'baseUrl' => '', 'baseUrl' => '',
'js' => 'js/all-{ts}.js', 'js' => 'js/all-{ts}.js',
......
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