Giter VIP home page Giter VIP logo

laravel-vue-cms's Introduction

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

laravel-vue-cms's People

Contributors

just1025 avatar liukaijv avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.