Skip to content

oidre/superadmin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SuperAdmin

Latest Version on Packagist Total Downloads Build Status

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published