comolo / contao-supertheme
SuperTheme 是一个 Contao 模块,用于轻松将资源添加到页面布局中。
3.3.2
2021-12-14 11:44 UTC
Requires
- coffeescript/coffeescript: ~1.3
- comolo/php-scssphp-compass: ~0.1
- contao/core-bundle: ^4.4
- leafo/scssphp: ~0.6
- matthiasmullie/minify: ^1.3
Requires (Dev)
- contao/manager-plugin: ^2.0
Conflicts
- contao/core: *
- contao/manager-plugin: <2.0 || >=3.0
README
什么是 SuperTheme?
SuperTheme 是一个 Contao 模块,可以轻松将 SCSS、JS、CoffeeScript 添加到页面布局中。 SuperTheme 会自动编译你的资源,将它们合并并添加到 HTML 标记中。
安装
1. 使用 composer 安装
composer require comolo/contao-supertheme
2. 运行 InstallTool
使用 InstallTool 清除你的内部缓存并更新数据库。
发行说明
- 添加了对 Contao 4.5 的支持
- SuperTheme 现在支持 Contao 4.4 和 Contao Manager 插件。安装 SuperTheme 现在变得超级简单 ;)
- 为了使 SuperTheme 无与伦比地快速,当 Contao 在生产模式(入口点 web/app.php)下运行时,将不再检查 scss 文件是否有变化。我建议在编写新网站的布局时,以开发模式运行 Contao。