Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/curder/vue-spa
Vue单页面练习,vue-router、vee-validate、axios等
https://github.com/curder/vue-spa
Last synced: 3 days ago
JSON representation
Vue单页面练习,vue-router、vee-validate、axios等
- Host: GitHub
- URL: https://github.com/curder/vue-spa
- Owner: curder
- Created: 2017-09-13T05:46:08.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T20:29:44.000Z (almost 2 years ago)
- Last Synced: 2023-02-27T08:02:44.218Z (over 1 year ago)
- Language: PHP
- Size: 1.38 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 16
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Development Version
* nodejs v7.6.0
* npm 5.3.0
* PHP 7.1.8
* Laravel Framework 5.5.3## Install
```
composer install
cp .env.example .env
php artisan key:generate
php artisan migrate
npm install
```## Configuration
* database
```
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=数据库名称
DB_USERNAME=数据库用户名
DB_PASSWORD=数据库用户名密码
``````
APP_DEBUG=true
APP_LOG_LEVEL=debug
APP_URL=http://localhost
APP_NAME=Laravel
APP_ENV=local
```
* passport token
Run `php artisan passport:install` Get the CLIENT_ID && SECRET
```
PERSONAL_CLIENT_ID=1
PERSONAL_CLIENT_SECRET=PASSPORT_CLIENT_ID=2
PASSPORT_CLIENT_SECRET=
```