friparia / admin
There is no license information available for the latest version (dev-master) of this package.
customized mvc to build admin easily
dev-master
2017-07-04 07:24 UTC
Requires
- tymon/jwt-auth: 0.5.*
This package is not auto-updated.
Last update: 2025-02-01 20:31:58 UTC
README
A admin framework of laravel
Requirement
- Laravel 5
Installation
- run
composer require "friparia/admin:dev-master"
- add a line in providers in
config/app.php
Friparia\Admin\AdminServiceProvider::class,
- run
npm i -S vue-router vue-resource pug vue-style-loader element-ui stylus stylus-loader
- in your webpack.mix.js add
.js('./resources/assets/friparia/admin/admin.js', 'public/js')
and
mix.webpackConfig({ resolve:{ alias: { 'vue-router$': 'vue-router/dist/vue-router.common.js' } } });
- rm default users table migrations and run
php artisan vendor:publish
- run
php artisan migrate
- run
php artisan jwt:generate
- change config/auth
$config['providers']['users']['model']
value to "\Friparia\Admin\Models\User" - create a superuser
php artisan admin:create-superuser
- run
npm run dev
- see
/admin
in your browser