Need help with laravel-vue-cms?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

liukaijv
131 Stars 45 Forks MIT License 24 Commits 1 Opened issues

Description

基于vue的一个完整练手项目,后台基于laravel5.2写的

Services available

!
?

Need anything else?

Contributors list

# 445,568
PHP
HTML
12 commits
# 449,979
PHP
HTML
10 commits

laravel-vue-cms

这个项目一直没有更新,把前端部分作了些修改放这个项目里了https://github.com/liukaijv/vue-admin-template。react版本https://github.com/liukaijv/react-reflux-demo

学习laravel和vue,用laravel5.2, vue.js 1.0+ and INSPINIA Admin Theme写的

线上演示

demo

账号: demo 或者 [email protected]

密码: demo

本地运行

克隆代码,安装依赖

clone https://github.com/liukaijv/laravel-vue-cms.git someDir

cd someDir

composer install

npm install

数据库设置

mysql:修改.env文件的数据库配置

DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=laravel-vue-cms
DB_USERNAME=root
DB_PASSWORD=

sqlite:修改config/database.php,使用sqlite

'default' => env('DB_CONNECTION', 'sqlite')

// 创建database.sqlite文件 touch database/database.sqlite

运行

// 创建数据库,填充数据
php artisan migrate
php artisan db:seed

// 后台服务 npm run web

// 前台测试 npm run dev

// 代码生成到publick/admin目录 npm run build

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.