xusongfu d74c640adc fix: Fix models & eslint
1. The response of models has been changed from array to map, we should make it compatible with old data

2. Change level to `off` for import/prefer-default-export to remove annoying unnecessary warnings

Change-Id: I6feac90b3db36b2c0929b27bb82dee8536951bb3
2021-09-02 15:38:23 +08:00
2021-08-24 15:58:45 +08:00
2021-09-02 10:09:03 +08:00
2021-09-02 15:38:23 +08:00
2021-09-02 15:38:23 +08:00
2021-08-25 16:05:22 +08:00
2021-05-08 17:14:35 +00:00
2021-06-25 10:53:34 +08:00
2021-08-25 16:05:22 +08:00
2021-09-01 16:06:50 +08:00
2021-08-24 11:30:09 +08:00
2021-08-24 15:58:45 +08:00
2021-08-26 14:27:05 +08:00
2021-08-26 14:27:05 +08:00

Instructions

简体中文| English

Prerequisites

  • node: lts/erbium (v12.*)
  • yarn: 1.22.4 +

Local Environment

Take CentOS as an example

  • Install nvm ( version control system for nodejs )

    wget -P /root/ --tries=10 --retry-connrefused --waitretry=60 --no-dns-cache --no-cache  https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh
    bash /root/install.sh
    . /root/.nvm/nvm.sh
    
  • Install nodejs

    NODE_VERSION=erbium
    nvm install --lts=$NODE_VERSION
    nvm alias default lts/$NODE_VERSION
    nvm use default
    
  • Verify nodejs and npm versions

    node -v
    # v12.*.*
    npm -v
    # 6.*.*
    
  • Install yarn

    npm install -g yarn
    
  • Install the project dependency under the root directory, with package.jsonin the same place.

    yarn install
    

    After those steps, please just wait until the installation is complete.

Usage

Under the root directory, with package.json in the same place.

  • yarn run mock: Use the mock interface of rap2
  • yarn run dev: To use the actual interfaceplease change the "http://pre.xxx.com" in line 47 into the real address in file webpack.dev.js.
  • yarn run build: Build packages and then you can hand over the contents of the generated dist directory to the back end.

Docs

How to develop

How to test

Description
A modern dashboard for OpenStack - UI
Readme 73 MiB
Languages
JavaScript 99.2%
Less 0.7%