代码拉取完成,页面将自动刷新
同步操作将从 xiongchuan/openadm-yii2 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
<?php
/**
* Configuration file for the "yii asset" console command.
*/
// In the console environment, some path aliases may not exist. Please define these:
// Yii::setAlias('@webroot', __DIR__ . '/../web');
// Yii::setAlias('@web', '/');
include 'app/config/bootstrap.php';
return [
// Adjust command/callback for JavaScript files compressing:
'jsCompressor' => 'java -jar tools/closure/closure-compiler-v20161201.jar --js {from} --js_output_file {to}',
// Adjust command/callback for CSS files compressing:
'cssCompressor' => 'java -jar tools/yui/yuicompressor-2.4.8.jar --type css {from} -o {to}',
// Whether to delete asset source after compression:
'deleteSource' => false,
// The list of asset bundles to compress:
// Asset bundle for compression output:
'bundles' => [
'yii\web\JqueryAsset',
'yii\web\YiiAsset',
'yii\jui\JuiAsset',
'yii\bootstrap\BootstrapAsset',
'yii\bootstrap\BootstrapPluginAsset',
'rmrevin\yii\fontawesome\AssetBundle',
'app\themes\adminlte2\AdminltePluginsAsset',
'app\plugins\menu\assets\MenuAsset',
'app\themes\adminlte2\ThemeAsset',
'nirvana\showloading\ShowLoadingAsset',
'app\themes\adminlte2\AdminLteAsset',
'app\themes\adminlte2\ShowLoadingAsset',
'lo\modules\noty\assets\NotyAsset'
],
'targets' => [
'allShared' => [
'class' => 'yii\web\AssetBundle',
'basePath' => '@webroot/assets',
'baseUrl' => '@web/assets',
'js' => 'all-shared-{hash}.js',
'css' => 'all-shared-{hash}.css',
'depends' => [
'yii\bootstrap\BootstrapAsset',
'yii\bootstrap\BootstrapPluginAsset',
'rmrevin\yii\fontawesome\AssetBundle',
'yii\web\JqueryAsset',
],
],
'allBackEnd' => [
'class' => 'yii\web\AssetBundle',
'basePath' => '@webroot/assets',
'baseUrl' => '@web/assets',
'js' => 'all-backend-{hash}.js',
'css' => 'all-backend-{hash}.css',
'depends' => [
'yii\web\YiiAsset',
'yii\jui\JuiAsset',
'app\themes\adminlte2\AdminltePluginsAsset',
'app\plugins\menu\assets\MenuAsset',
'app\themes\adminlte2\ThemeAsset',
'nirvana\showloading\ShowLoadingAsset',
'app\themes\adminlte2\AdminLteAsset',
'app\themes\adminlte2\ShowLoadingAsset',
'lo\modules\noty\assets\NotyAsset'
],
],
'allFrontEnd' => [
'class' => 'yii\web\AssetBundle',
'basePath' => '@webroot/assets',
'baseUrl' => '@web/assets',
'js' => 'all-frontend-{hash}.js',
'css' => 'all-frontend-{hash}.css',
'depends' => [
],
],
],
// Asset manager configuration:
'assetManager' => [
'basePath' => '@webroot/static/assets',
'baseUrl' => '@web/static/assets',
],
];
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。