josephcrowell/wn-frostbite-theme 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

josephcrowell/wn-frostbite-theme

Composer 安装命令:

composer require josephcrowell/wn-frostbite-theme

包简介

Frostbite base theme.

README 文档

README

The Frostbite Theme is a simple theme built on Tailwind CSS and Flowbite that aims to be a base theme for Winter CMS. This theme uses Winter Mix for asset compilation.

Requirements

  • Winter CMS 1.1.8 or above.
  • NodeJS 12 or above, if you wish to style the theme.

Development

The theme is built on Tailwind CSS and Flowbite, which are built using the NodeJS framework. To be able to compile any changes made to the styling or content, you must use the Mix commands that are included with Winter CMS 1.1.8 and above.

You must first install the Node dependencies required for the theme.

php artisan mix:install -p theme-frostbite

Then, to compile the Tailwind CSS styles for development, run the following command in the root folder of the project:

php artisan mix:compile -p theme-frostbite

To compile the Tailwind CSS styles for production (which should be done if you commit any changes to the Frostbite theme), you must add the --production flag to the above command:

php artisan mix:compile -p theme-frostbite --production

To make it easy to develop the theme, you can also watch the necessary template and stylesheet files for any changes:

php artisan mix:watch theme-frostbite

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-08-19