fix login background  images can not  be  loaded without network. (#198)

2 files changed
tree: c0df8086f7ed8c7f282cf79601c9d0f8fae0c232
  1. .github/
  2. public/
  3. src/
  4. tests/
  5. .asf.yaml
  6. .babelrc.js
  7. .editorconfig
  8. .eslintrc.js
  9. .gitignore
  10. .roadhogrc.mock.js
  11. .stylelintrc.json
  12. .webpackrc.js
  13. DISCLAIMER
  14. jsconfig.json
  15. LICENSE
  16. NOTICE
  17. package.json
  18. README.md
README.md

Apache ShenYu Dashboard

build

Overview

Apache ShenYu Dashboard is frontend of a management background for Apache ShenYu. The API interface is in the Apache Shenyu Admin module.

Prerequisite

  • node v8.0+

How to Build

Configuration

Modify the api url for different environment, eg: http://192.168.1.100:8000

Develop Environment

# install dependencies in this project root path.
npm install
# start
npm start

Production Environment

# install dependencies in this project root path.
npm install
# build for production
npm run build

# copy to apache-shenyu-admin
cp -rf dist/* shenyu-admin/src/main/resources/static/