mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-09-01 13:51:27 +02:00
added nuxt-bridge
This commit is contained in:
parent
f2102a0a23
commit
c67c586c98
2
.gitignore
vendored
2
.gitignore
vendored
@ -9,6 +9,8 @@
|
||||
/metadata/
|
||||
/client/.nuxt/
|
||||
/client/dist/
|
||||
/client/dist
|
||||
/client/.output/
|
||||
/dist/
|
||||
/deploy/
|
||||
/coverage/
|
||||
|
@ -1,9 +1,10 @@
|
||||
const pkg = require('./package.json')
|
||||
import { defineNuxtConfig } from '@nuxt/bridge'
|
||||
import pkg from './package.json'
|
||||
|
||||
const routerBasePath = process.env.ROUTER_BASE_PATH || ''
|
||||
const serverHostUrl = process.env.NODE_ENV === 'production' ? '' : 'http://localhost:3333'
|
||||
|
||||
module.exports = {
|
||||
export default defineNuxtConfig({
|
||||
// Disable server-side rendering: https://go.nuxtjs.dev/ssr-mode
|
||||
ssr: false,
|
||||
target: 'static',
|
||||
@ -136,6 +137,8 @@ module.exports = {
|
||||
host: '0.0.0.0'
|
||||
},
|
||||
|
||||
bridge: false,
|
||||
|
||||
/**
|
||||
* Temporary workaround for @nuxt-community/tailwindcss-module.
|
||||
*
|
||||
@ -145,4 +148,4 @@ module.exports = {
|
||||
devServerHandlers: [],
|
||||
|
||||
ignore: ['**/*.test.*', '**/*.cy.*']
|
||||
}
|
||||
})
|
||||
|
7237
client/package-lock.json
generated
7237
client/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -5,11 +5,11 @@
|
||||
"description": "Self-hosted audiobook and podcast client",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
"dev2": "nuxt --hostname localhost --port 1337",
|
||||
"build": "nuxt build",
|
||||
"start": "nuxt start",
|
||||
"generate": "nuxt generate",
|
||||
"dev": "nuxt2",
|
||||
"dev2": "nuxt2 --hostname localhost --port 1337",
|
||||
"build": "nuxt2 build",
|
||||
"start": "nuxt2 start",
|
||||
"generate": "nuxt2 generate",
|
||||
"test": "npm run compile-tailwind && cypress run --component --browser chrome",
|
||||
"test-visually": "npm run compile-tailwind && cypress open --component --browser chrome",
|
||||
"compile-tailwind": "tailwindcss -i ./assets/tailwind.css -o ./cypress/support/tailwind.compiled.css"
|
||||
@ -35,8 +35,10 @@
|
||||
"vuedraggable": "^2.24.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@nuxt/bridge": "^3.3.1",
|
||||
"@nuxtjs/pwa": "^3.3.5",
|
||||
"autoprefixer": "^10.4.7",
|
||||
"nuxi": "^3.13.2",
|
||||
"postcss": "^8.3.6",
|
||||
"tailwindcss": "^3.4.1"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user