Code Monkey home page Code Monkey logo

skadmin-front-end's Introduction

skadmin-front-end

skadmin 前端源码

项目源码

后端源码 前端源码
github https://github.com/DengSinkiang/skadmin https://github.com/DengSinkiang/skadmin-front-end

前端模板

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

模板文档: 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"'

skadmin-front-end's People

Contributors

dengsinkiang avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.