cecil / theme-applanding
Cecil 主题:App Landing
资助包维护!
ArnaudLigny
Open Collective
1.8.1
2023-12-12 10:53 UTC
Requires
- cecil/theme-installer: ^1.4
README
App Landing 是由 Cecil 驱动的主题,由 Tailwind CSS 支持。
安装
composer require cecil/theme-applanding
或者 下载最新的存档 并将其内容解压到
themes/applanding
。
使用方法
配置 Cecil
在您的 config.yml
的 theme
部分添加 applanding
theme: - applanding
示例
theme: - applanding applanding: buttons: - name: Netlify url: https://cecil.app/hosting/netlify/deploy image: https://www.netlify.com/img/deploy/button.svg source: https://github.com/Cecilapp/the-butler documentation: https://github.com/Cecilapp/the-butler#readme demo: https://the-butler-demo.cecil.app screenshot: cecil-preview.png
构建 CSS
创建 Tailwind 配置文件 tailwind.config.js
module.exports = { presets: [ require('./themes/applanding/tailwind.preset.js') ], content: [ './layouts/**/*.html.twig', './themes/**/layouts/**/*.html.twig', ] }
运行以下命令
npm install -D tailwindcss npx tailwindcss -i ./themes/applanding/tailwind.css -o ./assets/styles.css
许可证
App Landing 是在 MIT 许可证条款下分发的免费软件。