Skip to content

Latest commit

 

History

History
86 lines (77 loc) · 4.16 KB

File metadata and controls

86 lines (77 loc) · 4.16 KB

Preparation

You will need node, git. The project is based on ES2015+Vue.JsVuexVue-Routerantv-x6 and vue-element-admin. It would be helpful if you have pre-existing knowledge on those.

Getting Started

1.enter the project directory

cd primihub-webconsole

2.install dependency

npm install

3.modify vue.config.js file, the target is your gateway url

proxy: {
  '/dev-api': {
    target: 'your gateway url',
    ws: true,
    changeOrigin: true,
    pathRewrite: {
      '^/dev-api': ''
    }
  }
}

4.start the project

npm run dev

This will automatically open http://localhost:8080

Build

# build for test environment
npm run build:stage

# build for production environment
npm run build:prod

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