livghit/laragrounds

由 @ibelick 制作的精美背景片段的 Composer 包。

1.0.1 2023-12-13 07:52 UTC

This package is auto-updated.

Last update: 2024-09-16 12:03:45 UTC


README

// 警告:目前已弃用

logo

Laravel - 用于 https://bg.ibelick.com/ 背景的 Composer 包。

安装

composer require livghit\laragrounds
//add this to the Service Providers
LaragroundsServiceProvider::class;

//also add this to the tailwind.config.js under require
"./vendor/livghit/laragrounds/src/Views/Components/**/*.php",

完成这些步骤后,您就可以使用背景了

<main>
  //this sets the bg
  <x-dotted-dark/>
  <x-grid/>
  //below this just add you're code
  <div>HELOOO</div>
</main>

目前可用的背景

<x-dotted-light />
<x-dotted-dark />
<x-grid-simple-light />
<x-grid-simple-dark />
<x-big-grid-colored color="red"/>
<x-big-grid-colored color="rgba(234,44,222,0.4)" />
<x-big-grid />
<x-grid-black-white />
<x-side-color />
<x-half-grid/>