newebtime/agency-theme
Composer 安装命令:
composer require newebtime/agency-theme
包简介
This theme is a basic HTML5 Bootstrap theme based on the Agency Theme from http://startbootstrap.com/template-overviews/agency/
README 文档
README
This theme is a basic HTML5 Bootstrap theme based on the Agency Theme from https://startbootstrap.com/template-overviews/agency/
Installation
composer require newebtime/agency-theme
For more details: https://pyrocms.com/documentation/pyrocms/3.4/installation/installing-addons
Customization
The theme come with a pre-compiled CSS file, but it's also providing the SCSS to customise the theme.
Install dependencies
Manually
Go to the theme folder and run npm install
Using minstall
Minstall allow to automatically install package.json dependencies from all addons.
npm install minstall --save
Then update PyroCMS package.json
"scripts": {
...
"postinstall": "minstall addons/*/*"
},
Then
npm install
Using Assetic
- Go in
resources/views/partials/metadata.twig - Comment
{{ asset_add('theme.css', 'theme::css/theme.css', ['live', 'parse']) }} - Uncomment
{#{{ asset_add('theme.css', 'theme::scss/theme.scss', ['live', 'parse']) }}#}
Using Mix / Webpack
- Go in
resources/scss/theme.scss - Comment all the
// Vendor - Asseticsection - Uncomment all the
// Vendor - Mixsection
Then configure webpack.mix.js to compile the scss
require(`./addons/app/newebtime/agency-theme/webpack.mix.js`);
Caution: addons/app may differ depending of you application reference.
Tested Module
The following modules were tested (well all module using bootstrap 4 should be compatible).
- Forms Module (anomaly.module.forms),
1.3 - Pages Module (anomaly.module.pages),
2.4 - Portfolio Module (newebtime.module.portfolio),
1.0.0 - Posts Module (anomaly.module.posts),
2.4(2.5is not tested yet)- Know bug: The
Tagsare not rendered correctly. Too many twig need to be reworked for it...
- Know bug: The
- Users Module (anomaly.module.users),
2.4
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-10-05