Skip to content

Commit

Permalink
Tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
tonning committed Jun 17, 2024
1 parent 44a2772 commit 130a7f9
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 7 deletions.
Empty file added public/.gitkeep
Empty file.
9 changes: 5 additions & 4 deletions src/Settings/SkeletonSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@

class SkeletonSettings extends AppSettings
{
// public string $url;
// public string $url; // Example, modify to fit your need.

protected array $rules = [
// 'url' => Rule::requiredIf($this->enabled === true),
];
public function rules(): array
{
// 'url' => Rule::requiredIf($this->enabled === true), // Example, modify to fit your need.
}

public function description(): string
{
Expand Down
15 changes: 12 additions & 3 deletions webpack.mix.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,17 @@ const mix = require('laravel-mix');
| for your Laravel applications. By default, we are compiling the CSS
| file for the application as well as bundling up all the JS files.
|
| -----------------------------------------------
| HOW TO USE IN YOUR STRATA CONSUMING APPLICATION
| -----------------------------------------------
| Using your view with mix('css/skeleton.css', 'vendor/skeleton')
| Be sure to publish your assets first, see docs for more information
| https://docs.3zbrands.dev/strata/index/assets-and-resources#publishing-your-assets
|
*/

mix.postCss('resources/css/skeleton.css', 'public/css', [require("tailwindcss")])
// Uncomment if you need compiled Javascript
// .js('resources/js/skeleton.js', 'public/js')
// mix
// .postCss('resources/css/skeleton.css', 'css', [require('tailwindcss')('tailwind.config.js')])
// .js('resources/js/skeleton.js', 'js')
// .version()
// .setPublicPath('public/')

0 comments on commit 130a7f9

Please sign in to comment.