♏️ Sco Admin is an administrative interface builder for Laravel.
PHP Vue
Switch branches/tags
Nothing to show
Clone or download
Latest commit ee87465 Mar 28, 2018

README.md

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.