Skip to content

基于 vue + element-ui 的后台管理系统,vue,element-ui,webpack4保持最新

License

MIT, GPL-2.0 licenses found

Licenses found

MIT
LICENSE
GPL-2.0
COPYING
Notifications You must be signed in to change notification settings

yuedun/vue2-manage

 
 

Repository files navigation

About

此项目是 vue + element-ui 构建的后台管理系统,是一个标准的线上项目架构。

说明

开发环境 nodejs 8.x以上

如有问题请直接在 Issues 中提,或者您发现问题并有非常好的解决方案,欢迎 PR 👍

传送门:项目地址,该项目自带api提供数据,便于学习开发,可自行组装数据开发接口,顺带学习nodejs。

技术栈

vue-v2.6.11 + vuex-v3.1.3 + vue-router-v3.1.6 + webpack-v4.42.1 + ES6/7 + less + element-ui-v2.13.0 + babel-v7.9.0 https://cn.vuejs.org/v2/guide/syntax.html https://element.eleme.cn/#/zh-CN/component/layout

项目运行

git clone https://github.com/yuedun/vue2-manage

cd vue2-manage  

npm i

npm run dev (访问本地后台系统)


访问: http://localhost:8002

线上部署

npm run build

NGINX代理配置

# Virtual Host configuration for example.com
#
# You can move that to a different file under sites-available/ and symlink that
# to sites-enabled/ to enable it.
#
server {
    listen 80;
    listen [::]:80;

    server_name domain;

    root /xx/vue2-manage/manage;

    location / {
        try_files $uri $uri/ /index.html;
      	proxy_http_version 1.1;
       	proxy_set_header Upgrade $http_upgrade;
       	proxy_set_header Connection 'upgrade';
       	proxy_set_header Host $host;
	proxy_cache_bypass $http_upgrade;
        proxy_set_header X-NginX-Proxy true;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        expires 300;
    }

    location ^~ /api/ {
        add_header 'Access-Control-Allow-Origin' '*';
        proxy_pass http://localhost:8900/;
    }  
}

效果演示

(可在后台管理系统添加商铺,食品等数据,并在前端地址查看效果)

查看效果请戳这里

部分截图

License

GPL

About

基于 vue + element-ui 的后台管理系统,vue,element-ui,webpack4保持最新

Topics

Resources

License

MIT, GPL-2.0 licenses found

Licenses found

MIT
LICENSE
GPL-2.0
COPYING

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Vue 40.4%
  • JavaScript 36.8%
  • CSS 22.1%
  • Other 0.7%