axllent/silverstripe-typography
Composer 安装命令:
composer require --dev axllent/silverstripe-typography
包简介
A simple extension (extending Page) to add a simple typography test page to see your website styles
README 文档
README
A simple extension (extending Page) to add a simple typography test page to see your website styles.
It includes a JavaScript function to add element titles to all elements in the test page to help you see what element is which.
Requirements
- Silverstripe ^4.0 || ^5.0 in
devenvironment
For Silverstripe 3, please refer to the Silverstripe3 branch.
Installation
composer require axllent/silverstripe-typography --dev
Usage
Install the module, run a ?flush=1 and access your website with /typo/ (eg: www.example.com/typo/).
Please note that your website must be in the dev environment for the route to be activated.
If you need a customised layout then add a Layout/Typography.ss template in your theme directory and
<% include TypographySampleText %>
统计信息
- 总下载量: 1.05k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 7
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-02-14