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
require package:
$ composer require scolib/admin
Run install command:
$ php artisan admin:install
Install babel-plugin-transform-vue-jsx
$ 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
$ composer test
Please see CONTRIBUTING and CONDUCT for details.
If you discover any security related issues, please email slice1213@gmail.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.