承接 mindgruve/style-guide 相关项目开发

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

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

mindgruve/style-guide

最新稳定版本:1.6.1

Composer 安装命令:

composer require mindgruve/style-guide

包简介

This is the custom style guide that Mindgruve can use in any project.

README 文档

README

This style guide template is meant to provide a boilerplate for for your living style guide needs.

Using a configuration file, you can quickly set up a style guide page with all the necessary markup to review a complete set of html elements. You can even use it for more complex markup like Bootstrap Components.

Get Started

To get started:

  1. Run composer require mindgruve/style-guide in the application root.
  2. Run vendor/bin/style-guide generate www/style-guide to install the basic style guide mini-site to www/style-guide and the config file to config/mgStyleGuide.ini.
  3. Point the markupPath variable in the config to the location of the markup folder that you just generated in Step 2.
  4. Add all the styles and javascript you use in your site to the mgStyleGuide.ini in the config directory.

Tips and Tricks

Now you can use the style guide for basic templating work. This is useful at the component and the page level.

Components can be added using the established patterns from the previous version of the style guide.

Page templates go in the markup directory you set in your config. Any requests for WEB_ROOT/home will load base.html.twig and include markup/home.html or markup/home.html.twig.

统计信息

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

GitHub 信息

  • Stars: 1
  • Watchers: 2
  • Forks: 0
  • 开发语言: HTML

其他信息

  • 授权协议: proprietary
  • 更新时间: 2015-04-28