leadingfellows/revealjs_starterkit
Composer 安装命令:
composer create-project leadingfellows/revealjs_starterkit
包简介
Starterkit for reveal.js
README 文档
README
1. Installation:
using composer create-project
composer create-project leadingfellows/revealjs_starterkit -s dev -nv INSTALLATION_DIRECTORY
2. Running:
run using the shell script provided
./serve.sh
how to specify the listening port?
./serve.sh --port=8222
3. Usage:
Edit the files in subdirectory "custom".
custom/index.html
this file must contain HTML section tags, each section being a reveal.js slide.
<section>
<h2>slide 1</h2>
</section>
<section>
<h2>slide 2</h2>
</section>
..
You can include sections in other files like this:
** custom/index.html **
<section>
<h2>slide 1</h2>
</section>
<section data-external-replace="included.html"> </section>
** custom/included.html **
<section>
<h2>slide 2</h2>
</section>
custom/inline.html
The content of this file will be inserted in the body of the main document. by default we put in there the header and footer
<div id="hidden" style="display:none;">
<div id="header">
<div id="header-left">
<div style="margin-left: 20px; margin-bottom: 20px; font-size: 0.5em;"/>
reveal.js starterkit
</div>
</div>
<div id="header-right">
<div style="margin-left: 20px; margin-bottom: 20px; font-size: 0.5em;"/>
reveal.js starterkit
</div>
</div>
<div id="footer-left">
<div style="margin-left: 20px; margin-bottom: 20px; font-size: 0.5em;"/>
reveal.js starterkit
</div>
</div>
</div>
</div>
custom/css/custom.css
this file contains your custom css code
custom/js/custom.js
this file contains your custom js code. you can use it to update the document title
//inlined code
console.log("custom javascript code aded to reveal.js");
$( document ).ready(function() {
console.log("set document title");
$(this).attr("title", "Reveal.js starterkit TITLE");
});
4. Manual install
clone code
clone the repository or use the following command to create the project without installing packages
composer create-project leadingfellows/revealjs_starterkit -s dev -nv --no-install INSTALLATION_DIRECTORY
cd to your directory
install dependencies (without running scripts)
composer install --no-scripts
setup reveal.js
cd reveal.js && npm install
reconfigure
composer run relink
manual run
npm start -- --port=8222
leadingfellows/revealjs_starterkit 适用场景与选型建议
leadingfellows/revealjs_starterkit 是一款 基于 HTML 开发的 Composer 扩展包,目前已累计 13 次下载、GitHub Stars 达 0, 最近一次更新时间为 2019 年 02 月 11 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 leadingfellows/revealjs_starterkit 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 leadingfellows/revealjs_starterkit 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 13
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 8
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2019-02-11