mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-30 07:07:22 +02:00
Update cordova-plugin-screen-orientation, update postcss in nuxt config
This commit is contained in:
@@ -2,7 +2,6 @@
|
|||||||
"appId": "com.audiobookshelf.app",
|
"appId": "com.audiobookshelf.app",
|
||||||
"appName": "audiobookshelf-app",
|
"appName": "audiobookshelf-app",
|
||||||
"webDir": "dist",
|
"webDir": "dist",
|
||||||
"bundledWebRuntime": false,
|
|
||||||
"plugins": {
|
"plugins": {
|
||||||
"CapacitorHttp": {
|
"CapacitorHttp": {
|
||||||
"enabled": false
|
"enabled": false
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
"appId": "com.audiobookshelf.app",
|
"appId": "com.audiobookshelf.app",
|
||||||
"appName": "audiobookshelf-app",
|
"appName": "audiobookshelf-app",
|
||||||
"webDir": "dist",
|
"webDir": "dist",
|
||||||
"bundledWebRuntime": false,
|
|
||||||
"plugins": {
|
"plugins": {
|
||||||
"CapacitorHttp": {
|
"CapacitorHttp": {
|
||||||
"enabled": false
|
"enabled": false
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
"appId": "com.audiobookshelf.app",
|
"appId": "com.audiobookshelf.app",
|
||||||
"appName": "audiobookshelf-app",
|
"appName": "audiobookshelf-app",
|
||||||
"webDir": "dist",
|
"webDir": "dist",
|
||||||
"bundledWebRuntime": false,
|
|
||||||
"plugins": {
|
"plugins": {
|
||||||
"CapacitorHttp": {
|
"CapacitorHttp": {
|
||||||
"enabled": false
|
"enabled": false
|
||||||
|
|||||||
+13
-36
@@ -19,59 +19,36 @@ export default {
|
|||||||
htmlAttrs: {
|
htmlAttrs: {
|
||||||
lang: 'en'
|
lang: 'en'
|
||||||
},
|
},
|
||||||
meta: [
|
meta: [{ charset: 'utf-8' }, { name: 'viewport', content: 'viewport-fit=cover, width=device-width, initial-scale=1, user-scalable=no, maximum-scale=1' }, { hid: 'description', name: 'description', content: '' }, { name: 'format-detection', content: 'telephone=no' }],
|
||||||
{ charset: 'utf-8' },
|
|
||||||
{ name: 'viewport', content: 'viewport-fit=cover, width=device-width, initial-scale=1, user-scalable=no, maximum-scale=1' },
|
|
||||||
{ hid: 'description', name: 'description', content: '' },
|
|
||||||
{ name: 'format-detection', content: 'telephone=no' }
|
|
||||||
],
|
|
||||||
script: [
|
script: [
|
||||||
{
|
{
|
||||||
src: '/libs/sortable.js'
|
src: '/libs/sortable.js'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
link: [
|
link: [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }]
|
||||||
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
|
|
||||||
css: [
|
css: ['@/assets/tailwind.css', '@/assets/app.css'],
|
||||||
'@/assets/tailwind.css',
|
|
||||||
'@/assets/app.css'
|
|
||||||
],
|
|
||||||
|
|
||||||
plugins: [
|
plugins: ['@/plugins/server.js', '@/plugins/db.js', '@/plugins/localStore.js', '@/plugins/init.client.js', '@/plugins/axios.js', '@/plugins/nativeHttp.js', '@/plugins/capacitor/index.js', '@/plugins/capacitor/AbsAudioPlayer.js', '@/plugins/toast.js', '@/plugins/constants.js', '@/plugins/haptics.js', '@/plugins/i18n.js'],
|
||||||
'@/plugins/server.js',
|
|
||||||
'@/plugins/db.js',
|
|
||||||
'@/plugins/localStore.js',
|
|
||||||
'@/plugins/init.client.js',
|
|
||||||
'@/plugins/axios.js',
|
|
||||||
'@/plugins/nativeHttp.js',
|
|
||||||
'@/plugins/capacitor/index.js',
|
|
||||||
'@/plugins/capacitor/AbsAudioPlayer.js',
|
|
||||||
'@/plugins/toast.js',
|
|
||||||
'@/plugins/constants.js',
|
|
||||||
'@/plugins/haptics.js',
|
|
||||||
'@/plugins/i18n.js'
|
|
||||||
],
|
|
||||||
|
|
||||||
components: true,
|
components: true,
|
||||||
|
|
||||||
modules: [
|
modules: ['@nuxtjs/axios'],
|
||||||
'@nuxtjs/axios'
|
|
||||||
],
|
|
||||||
|
|
||||||
axios: {},
|
axios: {},
|
||||||
|
|
||||||
build: {
|
build: {
|
||||||
postcss: {
|
postcss: {
|
||||||
plugins: {
|
postcssOptions: {
|
||||||
tailwindcss: {},
|
plugins: {
|
||||||
autoprefixer: {},
|
tailwindcss: {},
|
||||||
},
|
autoprefixer: {}
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
babel: {
|
babel: {
|
||||||
plugins: [['@babel/plugin-proposal-private-property-in-object', { loose: true }]],
|
plugins: [['@babel/plugin-proposal-private-property-in-object', { loose: true }]]
|
||||||
},
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Generated
+1
-1
@@ -24,7 +24,7 @@
|
|||||||
"@nuxtjs/axios": "^5.13.6",
|
"@nuxtjs/axios": "^5.13.6",
|
||||||
"@teckel/vue-pdf": "^4.3.5",
|
"@teckel/vue-pdf": "^4.3.5",
|
||||||
"buffer": "^6.0.3",
|
"buffer": "^6.0.3",
|
||||||
"cordova-plugin-screen-orientation": "^3.0.2",
|
"cordova-plugin-screen-orientation": "^3.0.4",
|
||||||
"core-js": "^3.15.1",
|
"core-js": "^3.15.1",
|
||||||
"date-fns": "^2.25.0",
|
"date-fns": "^2.25.0",
|
||||||
"epubjs": "0.3.88",
|
"epubjs": "0.3.88",
|
||||||
|
|||||||
+2
-2
@@ -5,7 +5,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "nuxt --hostname 0.0.0.0 --port 1337",
|
"dev": "nuxt --hostname 0.0.0.0 --port 1337",
|
||||||
"build": "nuxt build",
|
"build": "nuxt build",
|
||||||
"start": "nuxt start",
|
"start": "nuxt --hostname 0.0.0.0 --port 1337",
|
||||||
"generate": "nuxt generate",
|
"generate": "nuxt generate",
|
||||||
"sync": "nuxt generate && npx cap sync",
|
"sync": "nuxt generate && npx cap sync",
|
||||||
"icons-android": "cordova-res android --skip-config --copy",
|
"icons-android": "cordova-res android --skip-config --copy",
|
||||||
@@ -29,7 +29,7 @@
|
|||||||
"@nuxtjs/axios": "^5.13.6",
|
"@nuxtjs/axios": "^5.13.6",
|
||||||
"@teckel/vue-pdf": "^4.3.5",
|
"@teckel/vue-pdf": "^4.3.5",
|
||||||
"buffer": "^6.0.3",
|
"buffer": "^6.0.3",
|
||||||
"cordova-plugin-screen-orientation": "^3.0.2",
|
"cordova-plugin-screen-orientation": "^3.0.4",
|
||||||
"core-js": "^3.15.1",
|
"core-js": "^3.15.1",
|
||||||
"date-fns": "^2.25.0",
|
"date-fns": "^2.25.0",
|
||||||
"epubjs": "0.3.88",
|
"epubjs": "0.3.88",
|
||||||
|
|||||||
Reference in New Issue
Block a user