Client for rsk-explorer-api
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
npm install
WS_URL: ws backend url STATS_URL : rsk stats web
E.g. to change WS_URL:
bash export WS_URL=wss://backend.rsk.co
npm run build
Serve ./dist folder on web server
The client uses vue-router HTML 5 History mode, this requires a special configuration of the web server:
nginx:
location / {
try_files $uri $uri/ /index.html;
}