Coder Social home page Coder Social logo

x-springboot-ui's Introduction

x-springboot-ui

🚧 安装 cnpm、yarn

  • 复制代码(桌面 cmd 运行) npm install -g cnpm --registry=https://registry.npm.taobao.org
  • 复制代码(桌面 cmd 运行) npm install -g yarn

⚡ 使用说明

建议使用 cnpm,因为 yarn 有时会报错。npm install 安装报错的话,请使用 cnpm install

注意:node 需大于 12.xxx 小于等于 v16.14.0,否则安装依赖将报错。

# 克隆项目
git clone https://github.com/yzcheng90/x-springboot-ui.git

# 进入项目
cd x-springboot-ui

# 安装依赖
cnpm install
cnpm install eslint-webpack-plugin --save-dev
cnpm install core-js --save-dev
npm install element-plus --save-dev
npm install --save @vue/composition-api
npm install --save @vue/shared 
npm install --save @vue/reactivity



# 运行项目
cnpm run dev

# 打包发布
cnpm run build

部署说明

nginx 配置

    server {
        listen 80;
        server_name localhost;
        client_max_body_size    100m; 
  
        location / {
            # UI目录
            root  i:/ui;
            #动态页面
            proxy_set_header X-forwarded-for $proxy_add_x_forwarded_for;
            proxy_set_header X-Real-IP $remote_addr;
            if ( !-e $request_filename ){
                proxy_pass    http://127.0.0.1:8080;
            }
        }

        location ^~// {
            proxy_set_header X-forwarded-for $proxy_add_x_forwarded_for;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_pass    http://127.0.0.1:8080;
        }
    }

访问:http://localhost

📚 开发文档

x-springboot-ui's People

Contributors

yzcheng90 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.