Skip to content

lvdingqin/x-springboot-ui

 
 

Repository files navigation

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

📚 开发文档

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Vue 64.6%
  • JavaScript 20.1%
  • SCSS 14.9%
  • HTML 0.4%