1 Star 5 Fork 1

小丑路人·社区 / laravel-vue-admin

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.en.md

laravel-vue-admin

Description

demo

Home

Version history

Spanish

Request log statistics

Software Architecture

Software architecture description

Installation

安装Vue
  • 安装 npm 包:npm install

  • 热更新vue项目:npm run watch-poll

    • vue无法执行:可尝试:
      • npm rebuild node-sass
PHP设置
  • 命令行:composer install
  • 命令行:cp .env.example .env
  • 命令行,生成 APP_KEY:php artisan key:generate
  • 命令行,JWT的key:php artisan jwt:secret
  • 导入根目录sql:laravel-vue-admin.sql
  • 任务调度:php artisan schedule:run

Instructions

  1. 按月、按年分表的模型,皆不可使用 with,可使用 load 代替,static::query 会重新 实例化当前模型,之前设置的分表名称将被替换。

    具体原因看代码:

    /**
     * Begin querying a model with eager loading.
     *
     * @param  array|string  $relations
     * @return \Illuminate\Database\Eloquent\Builder
     */
    public static function with($relations)
    {
        return static::query()->with(
            is_string($relations) ? func_get_args() : $relations
        );
    }

Contribution

  1. Fork the repository
  2. Create Feat_xxx branch
  3. Commit your code
  4. Create Pull Request

捐助

支付宝收款码 微信收款码

Gitee Feature

  1. You can use Readme_XXX.md to support different languages, such as Readme_en.md, Readme_zh.md
  2. Gitee blog blog.gitee.com
  3. Explore open source project https://gitee.com/explore
  4. The most valuable open source project GVP
  5. The manual of Gitee https://gitee.com/help
  6. The most popular members https://gitee.com/gitee-stars/

Comments ( 3 )

Sign in for post a comment

About

laravel+vue-element-admin管理系统(已完成) spread retract
Cancel

Contributors

All

Activities

load more
can not load any more
PHP
1
https://gitee.com/clown-passerby-community/laravel-vue-admin.git
git@gitee.com:clown-passerby-community/laravel-vue-admin.git
clown-passerby-community
laravel-vue-admin
laravel-vue-admin
master

Search