bookshelves-project / bookshelves-front

Bookshelves projects to display epubs

Home Page:https://bookshelves.ink

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bookshelves · Front

nuxt nuxt-ssr tailwindcss

node pnpm

https://img.shields.io/badge/dynamic/json?url=https://gitlab.com/bookshelves-project/bookshelves-front/-/raw/main/package.json&label=Nuxt.js&query=$.devDependencies.nuxt&color=00C58E&prefix=v&style=flat-square&logo=nuxt.js&logoColor=ffffff https://img.shields.io/badge/dynamic/json?url=https://gitlab.com/bookshelves-project/bookshelves-front/-/raw/main/package.json&label=Tailwind%20CSS&query=$.devDependencies.tailwindcss&color=38B2AC&prefix=v&style=flat-square&logo=tailwind-css&logoColor=ffffff https://img.shields.io/badge/dynamic/json?url=https://gitlab.com/bookshelves-project/bookshelves-front/-/raw/main/package.json&label=Node.js&query=$.engines.node&color=339933&prefix=v&style=flat-square&logo=node.js&logoColor=ffffff https://img.shields.io/badge/dynamic/json?url=https://gitlab.com/bookshelves-project/bookshelves-front/-/raw/main/package.json&label=pnpm&query=$.engines.pnpm&color=F69220&prefix=v&style=flat-square&logo=pnpm&logoColor=ffffff

https://jsonpath.com

Works with documentation.

Commands

To upgrade

https://github.com/nuxt/framework/releases/tag/v3.0.0-rc.13

npx nuxi-edge@latest upgrade --force // Automated

Manual: Bump nuxt dependency to 3.0.0-rc.13 and then use npx nuxi-edge@latest cleanup to cleanup any local caches

OR

Bump nuxt dependency to npm:nuxt3@latest and then use npx nuxi-edge@latest cleanup to cleanup any local caches

Setup

Setup local on http://localhost:3000 with https://bookshelves.ink API

Create .env

cp .env.example .env

Node.js dependencies

pnpm i

Local serve

pnpm dev

Update API

Update .env on API_URL to use local API

API_URL=http://localhost:8000

Production in SSR

Update .env

BASE_URL=https://bookshelves.ink
API_URL=https://bookshelves.ink

Setup build

pnpm build

Launch server in SSR

pnpm start

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

About

Bookshelves projects to display epubs

https://bookshelves.ink

License:BSD 2-Clause "Simplified" License


Languages

Language:Vue 72.3%Language:TypeScript 24.2%Language:CSS 1.9%Language:JavaScript 1.6%