Skip to content
This repository has been archived by the owner on Oct 25, 2021. It is now read-only.

Latest commit

 

History

History
39 lines (25 loc) · 828 Bytes

README.md

File metadata and controls

39 lines (25 loc) · 828 Bytes

🔥 THIS REPOSITORY HAS MOVED 🔥

Now exists as package nuxt-app in https://github.com/libris/lxlviewer/

id.kb.se

Server-side rendered Vue.js application (using NuxtJS).

Requirements

  • This application requires a JSON-LD API to connect to. See librisxl.

Build Setup

Create an .env config in the root of this repo:
If you are serving the API on http://localhost:5000 you can skip this.

$ echo API_PATH=YOUR_URL > .env

Yarn commands

# install dependencies
$ yarn install

# serve with hot reload at localhost:3000
$ yarn dev

# build for production and launch server
$ yarn build
$ yarn start

# generate static project
$ yarn generate

For detailed explanation on how things work, check out Nuxt.js docs.