npm install vue-cli -g
git clone https://github.com/nerva-project/nerva-explorer.git
cd nerva-explorer
npm install
npm run dev
npm run build
Set VUE_PUBLIC_PATH=/<path>/
in ./env.withpath
npm run build-with-path
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.