mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-06-20 20:05:44 +02:00
67 lines
1.4 KiB
JavaScript
67 lines
1.4 KiB
JavaScript
const pkg = require('./package.json')
|
|
|
|
export default {
|
|
ssr: false,
|
|
|
|
env: {
|
|
PROD: '1',
|
|
ANDROID_APP_URL: 'https://play.google.com/store/apps/details?id=com.audiobookshelf.app',
|
|
IOS_APP_URL: ''
|
|
},
|
|
|
|
publicRuntimeConfig: {
|
|
version: pkg.version
|
|
},
|
|
|
|
head: {
|
|
title: 'Audiobookshelf',
|
|
htmlAttrs: {
|
|
lang: 'en'
|
|
},
|
|
meta: [
|
|
{ charset: 'utf-8' },
|
|
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
|
|
{ hid: 'description', name: 'description', content: '' },
|
|
{ name: 'format-detection', content: 'telephone=no' }
|
|
],
|
|
link: [
|
|
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
|
|
{ rel: 'stylesheet', href: 'https://fonts.googleapis.com/css2?family=Ubuntu+Mono&family=Source+Sans+Pro:wght@300;400;600' },
|
|
]
|
|
},
|
|
|
|
css: [
|
|
'@/assets/app.css'
|
|
],
|
|
|
|
plugins: [
|
|
'@/plugins/server.js',
|
|
'@/plugins/sqlStore.js',
|
|
'@/plugins/localStore.js',
|
|
'@/plugins/init.client.js',
|
|
'@/plugins/axios.js',
|
|
'@/plugins/my-native-audio.js',
|
|
'@/plugins/audio-downloader.js',
|
|
'@/plugins/storage-manager.js',
|
|
'@/plugins/toast.js',
|
|
'@/plugins/constants.js'
|
|
],
|
|
|
|
components: true,
|
|
|
|
buildModules: [
|
|
'@nuxtjs/tailwindcss',
|
|
],
|
|
|
|
modules: [
|
|
'@nuxtjs/axios'
|
|
],
|
|
|
|
axios: {},
|
|
|
|
build: {
|
|
babel: {
|
|
plugins: [['@babel/plugin-proposal-private-property-in-object', { loose: true }]],
|
|
},
|
|
}
|
|
}
|