Skip to content

DengSinkiang/sk-admin-web

Repository files navigation

SK-ADMIN-WEB

SK-ADMIN 前端源码

项目源码

后端源码 前端源码
github https://github.com/DengSinkiang/sk-admin https://github.com/DengSinkiang/sk-admin-web

前端模板

初始模板基于: https://github.com/PanJiaChen/vue-element-admin

模板文档: https://panjiachen.github.io/vue-element-admin-site/zh/guide/

Build Setup

# 安装依赖
npm install

# 启动服务 localhost:8013
npm run dev

# 构建生产环境
npm run build

nginx 没有安装 nginx 请自行百度安装

server {
    listen       80;
    server_name  前端页面 # www.rbac.com;

    proxy_set_header X-Forwarded-Host $host;
    proxy_set_header X-Forwarded-Server $host;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

    location / {
        proxy_pass http://127.0.0.1:8013;
        proxy_connect_timeout 600;
        proxy_read_timeout 600;
    }

}
server {
    listen       80;
    server_name  api 页面 # api.rbac.com;

    proxy_set_header X-Forwarded-Host $host;
    proxy_set_header X-Forwarded-Server $host;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

    location / {
        proxy_pass http://127.0.0.1:8000;
        proxy_connect_timeout 600;
        proxy_read_timeout 600;
    }

}
# 修改 prod.env.js
BASE_API: '"api 地址 # http://api.rbac.com"'

About

sk-admin 管理系统前端

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published