Package Data | |
---|---|
Maintainer Username: | shopex |
Maintainer Contact: | dev@shopex.cn (shopex) |
Package Create Date: | 2017-09-07 |
Package Last Update: | 2017-09-19 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-15 15:02:12 |
Package Statistics | |
---|---|
Total Downloads: | 106 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 1 |
Total Watchers: | 8 |
Total Forks: | 0 |
Total Open Issues: | 0 |
composer create-project laravel/laravel site
cd site
composer require shopex/luban-site
生成vendor提供的文件
php artisan vendor:publish
php artisan make:auth
config/app.config 下增加
//Providers...
Shopex\LubanAdmin\Providers\LubanSiteProvider::class,
//Facade...
'Site' => Shopex\LubanAdmin\Facades\Site::class,
resources/assets/js/app.js 下增加
require('../vendor/site/js/site.js')
resources/assets/sass/app.scss 下增加
@import "../vendor/site/sass/app";
routes/web.php
Site::routes();
编译js/css, 运行程序.
npm run dev
php artisan migrate
php artisan serve