承接 ezitisitis/laravel-dark-theme-switcher 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

ezitisitis/laravel-dark-theme-switcher

最新稳定版本:v1.1.0

Composer 安装命令:

composer require ezitisitis/laravel-dark-theme-switcher

包简介

This is my package laravel-dark-theme-switcher

README 文档

README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

This package is made to provide good UX for theme switching and simplicity in implementation.

Support us

If you are using this package for commercial use, that would be highly appreciated to support through GitHub Sponsor program, as developing even small packages requires time and effort, while saving your precious time.

Installation

You can install the package via composer:

composer require ezitisitis/laravel-dark-theme-switcher

Include next components in your layout to add the switching script and switch itself.

  1. In the <head> place next component:
<x-dark-theme-switcher::script/>
  1. Add switch component somewhere in the <body>:
<x-dark-theme-switcher::/>
  1. Add next code to your app.js
import '../../vendor/ezitisitis/laravel-dark-theme-switcher/resources/js/themeSwitch.js';

Configuration

You can publish the config file with:

php artisan vendor:publish --tag=dark-theme-switcher-config

Optionally, you can publish the views using

php artisan vendor:publish --tag=dark-theme-switcher-views

Changelog

Please see CHANGELOG for more information on what has changed recently.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-11-30