Skip to content

Commit

Permalink
BUGFIX 🐛 debugging the sidebar in linux production
Browse files Browse the repository at this point in the history
  • Loading branch information
ndeblauw committed Nov 26, 2024
1 parent 1177fb9 commit 5943a3a
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,26 @@ or for the newest version
"ndeblauw/blue-admin": "9999999-dev",
```

## Installation in local development

Add to your composer.json
```
"repositories": {
"blueadmin": {
"type": "path",
"url": "D:/HERD/blue-admin", // or whatever directory you use
"options": {
"symlink": true
}
}
},
"require": {
...
"ndeblauw/blue-admin": "@dev",
...
}
```


## Usage
When using vite, don't forget to add to `tailwind.config.js`the following line
Expand Down
4 changes: 3 additions & 1 deletion resources/views/layouts/flux/layout.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@
@endif

<div class="flex-1 max-md:pt-6 self-stretch mb-6">
{{implode(',', $sidebar)}}

@if($titleShow && $title)
<flux:heading size="xl" level="1">{{$title}}</flux:heading>

Expand All @@ -111,4 +113,4 @@
@stack('blueadmin_scripts')
@fluxScripts
</body>
</html>
</html>

0 comments on commit 5943a3a

Please sign in to comment.