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:
- Run
composer require mindgruve/style-guidein the application root. - Run
vendor/bin/style-guide generate www/style-guideto install the basic style guide mini-site to www/style-guide and the config file to config/mgStyleGuide.ini. - Point the markupPath variable in the config to the location of the markup folder that you just generated in Step 2.
- 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
其他信息
- 授权协议: proprietary
- 更新时间: 2015-04-28