fengxi fd9e326ee2 新增公告模块 | 5 years ago | |
---|---|---|
app | 5 years ago | |
bootstrap | 5 years ago | |
config | 5 years ago | |
database | 5 years ago | |
public | 5 years ago | |
resources | 5 years ago | |
routes | 5 years ago | |
storage | 5 years ago | |
tests | 5 years ago | |
wechat_20190826_cert | 5 years ago | |
.browserslistrc | 5 years ago | |
.editorconfig | 5 years ago | |
.env.example | 5 years ago | |
.eslintrc.js | 5 years ago | |
.gitattributes | 5 years ago | |
.gitignore | 5 years ago | |
.styleci.yml | 5 years ago | |
LICENSE | 5 years ago | |
app-api.md | 5 years ago | |
artisan | 5 years ago | |
babel.config.js | 5 years ago | |
blu.jar | 5 years ago | |
composer.json | 5 years ago | |
package-lock.json | 5 years ago | |
package.json | 5 years ago | |
phpunit.xml | 5 years ago | |
postcss.config.js | 5 years ago | |
readme.md | 5 years ago | |
server.php | 5 years ago | |
vue.config.js | 5 years ago |
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;
}