ScoLib / admin by klgd

Admin package for Laravel 5.*, based on Vue 2.* and AdminLTE
128
10
3
Package Data
Maintainer Username: klgd
Maintainer Contact: slice1213@gmail.com (klgd)
Package Create Date: 2017-02-19
Package Last Update: 2018-05-31
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2024-11-19 03:07:39
Package Statistics
Total Downloads: 128
Monthly Downloads: 2
Daily Downloads: 0
Total Stars: 10
Total Watchers: 3
Total Forks: 2
Total Open Issues: 0

Sco-Admin

StyleCI Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

Sco-Admin is an administrative interface builder for Laravel.

The frontend is based on Element-UI and AdminLTE

Inspired by SleepingOwlAdmin , FrozenNode/Laravel-Administrator and Voyager

Install

Composer

require package:

$ composer require scolib/admin

Artisan

Run install command:

$ php artisan admin:install

Install babel-plugin-transform-vue-jsx

NPM

$ npm install\
  bootstrap\
  element-ui\
  font-awesome\
  jquery-slimscroll\
  less\
  less-loader\
  nestable2\
  v-tinymce\
  v-viewer\
  vue-i18n\
  vue-progressbar\
  vue-router\
  vue-simplemde\
  vuex\
  --save-dev

In your webpack.mix.js:

// mix.sourceMaps();

mix.webpackConfig({
    output: {
        chunkFilename: `js/[name]${
            mix.inProduction() ? '.[chunkhash].chunk.js' : '.chunk.js'
            }`,
        publicPath: '/',
    }
})
    .js('resources/assets/vendor/admin/main.js', 'public/js/admin.js')
    .autoload({
        jquery: ['$', 'window.jQuery', 'jQuery', 'jquery'],
        vue: 'Vue'
    })
    .less(
        'resources/assets/vendor/admin/less/admin.less',
        'public/css/admin.css'
    )
    .copyDirectory('node_modules/tinymce/plugins/visualblocks/css', 'public/js/tinymce/plugins/visualblocks/css')
    .copyDirectory('node_modules/tinymce/plugins/emoticons/img', 'public/js/tinymce/plugins/emoticons/img')

if (mix.inProduction()) {
    mix.version();
}
$ npm install 
$ npm run prod

Usage

Document

Change log

CHANGELOG | 更新日志

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security

If you discover any security related issues, please email slice1213@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.