oidre / superadmin
:Admin Template Tailwind
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
Language:Blade
Requires
This package is auto-updated.
Last update: 2025-05-08 14:58:37 UTC
README
This is where your description should go. Take a look at contributing.md to see a to do list.
Installation
Via Composer
$ composer require oidre/superadmin
Usage
Step 1
Install Tailwind CSS
$ yarn add tailwindcss
Step 2
Publish Vendor
$ php artisan vendor:publish --tag=superadmin
Step 3
Add superadmin.js into resources/js/app.js
require('./superadmin');
Add _superadmin.scss into resources/sass/app.scss
@import 'superadmin';
Step 4
Add tailwind.config.js into webpack.mix.js
const tailwindcss = require('tailwindcss'); . . . mix.js('resources/js/app.js', 'public/js') .sass('resources/sass/app.scss', 'public/css') .options({ processCssUrls: false, postCss: [tailwindcss('./tailwind.config.js')], });
Step 5
$ yarn install && yarn run dev
Step 6
Add compiled css & js into main layout
<link rel="stylesheet" href="{{ asset('css/app.css') }}"> <script src="{{ asset('js/app.js') }}"></script>
Step 7
Just embed wrapper component inside body tag
<x-sa.wrapper/>
Step 8
Enjoy!
Change log
Please see the changelog for more information on what has changed recently.
Testing
$ composer test
Contributing
Please see contributing.md for details and a todolist.
Security
If you discover any security related issues, please email author email instead of using the issue tracker.
Credits
License
license. Please see the license file for more information.