mead 0a2eb61a26 Merge branch 'weilaibike' into xiaobanma | il y a 4 ans | |
---|---|---|
app | il y a 4 ans | |
bootstrap | il y a 5 ans | |
config | il y a 4 ans | |
database | il y a 5 ans | |
public | il y a 5 ans | |
resources | il y a 4 ans | |
routes | il y a 4 ans | |
storage | il y a 5 ans | |
tests | il y a 5 ans | |
wechat_20190826_cert | il y a 5 ans | |
.browserslistrc | il y a 5 ans | |
.editorconfig | il y a 5 ans | |
.env.example | il y a 5 ans | |
.eslintrc.js | il y a 5 ans | |
.gitattributes | il y a 5 ans | |
.gitignore | il y a 5 ans | |
.styleci.yml | il y a 5 ans | |
LICENSE | il y a 5 ans | |
app-api.md | il y a 5 ans | |
artisan | il y a 5 ans | |
babel.config.js | il y a 5 ans | |
blu.jar | il y a 5 ans | |
composer.json | il y a 5 ans | |
package-lock.json | il y a 5 ans | |
package.json | il y a 5 ans | |
phpunit.xml | il y a 5 ans | |
postcss.config.js | il y a 5 ans | |
readme.md | il y a 5 ans | |
server.php | il y a 5 ans | |
vue.config.js | il y a 5 ans |
Laravel
安装流程先走一套php artisan jwt:secret
php artisan admin:init
初始化数据库的数据(超管,角色,权限和路由)yarn && yarn build
推荐使用 yarn
哦.env.example
中的注释# yarn build 之后的路径
location /admin/ {
try_files $uri $uri/ /admin/index.html;
}
# yarn dev 或者 yarn watch 之后的路径
location /admin-dev/ {
try_files $uri $uri/ /admin-dev/index.html;
}
# Laravel
location / {
try_files $uri $uri/ /index.php$is_args$args;
}