1. 首页
  2. 考试认证
  3. 其它
  4. Assetla Assetic Module Wrapper for Asset Management

Assetla Assetic Module Wrapper for Asset Management

上传者: 2024-10-25 16:23:18上传 ZIP文件 578.69KB 热度 4次

Assetla is a wrapper for the Assetic library. It provides a configuration profile for creating modules for your CSS and JavaScript files. These files can include formats such as *.css, *.sass, *.coffee, and *.js. Below is an example of how the configuration might look:


array(

  'output_path' => 'assets',

  'modules' => array(

    'admin_core' => array(

      'css' => array(

        'media/css/admin/reset.css',

        'media/css/admin/text.css',

        'media/css/admin/fluid.css',

        'media/css/admin/core/button.sass'

      ),

    ),

  ),

);

In this example, CSS files are specified within the admin_core module, allowing for efficient management and combination of these assets.

下载地址
用户评论

微信扫一扫:分享