Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 872 Bytes

README.md

File metadata and controls

51 lines (35 loc) · 872 Bytes

Nerva Block Explorer

explorer screenshot

Project setup

Install vue-cli dev tools

npm install vue-cli -g

Clone the project and install dependencies

git clone https://github.com/nerva-project/nerva-explorer.git
cd nerva-explorer
npm install

Compile with hot-reloading for development

npm run dev

Compile and minify for production

npm run build

Build with URL path

Set VUE_PUBLIC_PATH=/<path>/ in ./env.withpath

npm run build-with-path

Hosting

Some specific configuration may be needed depending on your web server.

For nginx

location / {
    try_files $uri $uri/ /index.html;
}

See the vue-router history mode docs.