/incubator-apisix-dashboard

Primary LanguageVueApache License 2.0Apache-2.0

apisix_dashboard

Overview

Dashboard for APISIX & based on ElementUI.

Documentation

Docs

Vue Config Docs

Project Structure

├── public                     # public static assets
│   │── img/                   # static image files
│   │── favicon.ico            # favicon
│   │── index.html             # index.html template
│   └── robots.txt             # robots file
├── src                        # main source code
│   ├── api/                   # api service
│   ├── components/            # global components
│   ├── lang/                  # i18n language
│   ├── layout/                # global layout
│   ├── router/                # router
│   ├── store/                 # store
│   ├── styles/                # global css
│   ├── utils/                 # global utils
│   ├── views/                 # views
│   ├── App.vue                # main app component
│   ├── main.ts                # app entry file
│   ├── permission.ts          # permission authentication
│   ├── settings.ts            # setting file
│   └── shims.d.ts             # type definition shims
├── licenses                   # license files for ALv2 and boilerplate
├── .browserslistrc            # browserslist config file (to support Autoprefixer)
├── .editorconfig              # editor code format consistency config
├── .env.xxx                   # env variable configuration
├── .eslintrc.js               # eslint config
├── .eslintignore              # eslint ignore config
├── .gitignore                 # git ignore config
├── babel.config.js            # babel config
├── LICENSE                    # license file
├── NOTICE                     # notice file
├── package.json               # package.json
├── postcss.config.js          # postcss config
├── README.md                  # some information about APISIX
├── tsconfig.json              # typescript config
├── vue.config.js              # vue-cli config
└── yarn.lock                  # keep exact versions of each dependency

Project setup

Make sure Node.js 8.12.0 or higher, and Yarn are installed on your machine: https://yarnpkg.com/en/docs/install

Install dependencies

yarn install

Compiles and hot-reloads for development

yarn run serve

Compiles and minifies for production

yarn run build:prod

Lints and fixes files

yarn run lint

Customize Vue configuration

See Configuration Reference.

Browsers support

Modern browsers and Internet Explorer 10+.

IE / Edge
IE / Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
IE10, IE11, Edge last 2 versions last 2 versions last 2 versions