承接 newebtime/agency-theme 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

  1. Go in resources/views/partials/metadata.twig
  2. Comment {{ asset_add('theme.css', 'theme::css/theme.css', ['live', 'parse']) }}
  3. Uncomment {#{{ asset_add('theme.css', 'theme::scss/theme.scss', ['live', 'parse']) }}#}

Using Mix / Webpack

  1. Go in resources/scss/theme.scss
  2. Comment all the // Vendor - Assetic section
  3. Uncomment all the // Vendor - Mix section

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.5 is not tested yet)
    • Know bug: The Tags are not rendered correctly. Too many twig need to be reworked for it...
  • Users Module (anomaly.module.users), 2.4

统计信息

  • 总下载量: 5
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-10-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固