laravel-vue-spa下载 - 一款Laravel框架加Vue和Bootstrap开发的入门级SPA项目模板

2041 2020-02-18 PHP MIT 官方网站

一款Laravel框架加Vue和Bootstrap开发的入门级SPA项目模板。

laravel-vue-spa下载

4.1.1.zip(4.1.1) 下载

4.1.0.zip(4.1.0) 下载

4.0.0.zip(4.0.0) 下载

4.0.1.zip(4.0.1) 下载

4.3.0.zip(4.3.0) 下载

4.2.0.zip(4.2.0) 下载

4.4.0.zip(4.4.0) 下载

4.5.0.zip(4.5.0) 下载

3.0.0.zip(3.0.0) 下载

3.0.1.zip(3.0.1) 下载

laravel-vue-spa趋势

laravel-vue-spa介绍

一款Laravel框架加Vue和Bootstrap开发的入门级SPA项目模板。

特点

  • Laravel 6.0

  • Vue + VueRouter + Vuex + VueI18n + ESlint

  • 动态加载网页和支持自定义层

  • 登录、注册、邮箱样子、密码重置

  • 支持JWT鉴权

  • Socialite integration

  • Bootstrap 4 + Font Awesome 5

安装方法

  • composer create-project --prefer-dist cretueusebiu/laravel-vue-spa

  • Edit .env and set your database connection details

  • (When installed via git clone or download, run php artisan key:generate and php artisan jwt:secret)

  • php artisan migrate

  • npm install

使用方法

Development

# build and watch
npm run watch

# serve with hot reloading
npm run hot

运行

npm run production

Socialite

This project comes with GitHub as an example for Laravel Socialite.

To enable the provider create a new GitHub application and use https://example.com/api/oauth/github/callback as the Authorization callback URL.

Edit .env and set GITHUB_CLIENT_ID and GITHUB_CLIENT_SECRET with the keys form your GitHub application.

For other providers you may need to set the appropriate keys in config/services.php and redirect url in OAuthController.php.

Email验证

To enable email verification make sure that your App\User model implements the Illuminate\Contracts\Auth\MustVerifyEmail contract.

Changelog

Please see CHANGELOG for more information what has changed recently.