0
0
Fork 0
mirror of https://github.com/VueTubeApp/VueTube synced 2024-11-09 04:55:07 +00:00
VueTube/NUXT/nuxt.config.js

79 lines
1.6 KiB
JavaScript
Raw Normal View History

2022-01-24 22:56:57 +00:00
import colors from 'vuetify/es5/util/colors'
2022-03-13 19:45:48 +00:00
/**** Front's Notes / Don't Remove ****
* Data Storage:
2022-03-15 19:43:30 +00:00
* localStorage.setItem("key", data)
* localStorage.getItem('key')
2022-03-13 19:45:48 +00:00
*/
2022-01-24 22:56:57 +00:00
export default {
2022-02-24 19:45:36 +00:00
2022-01-25 02:45:23 +00:00
//--- Bettertube Stuff ---//
env: {
2022-03-10 17:51:40 +00:00
appVersion: "dev-local",
},
2022-01-25 02:45:23 +00:00
target: 'static',
2022-02-24 19:45:36 +00:00
plugins: [
2022-03-07 14:36:23 +00:00
{ src: "~/plugins/youtube", mode: "client" },
{ src: "~/plugins/vuetube", mode: "client" }
2022-02-24 19:45:36 +00:00
],
generate: {
dir: '../dist'
},
2022-02-24 19:45:36 +00:00
//--- Bettertube Debugging ---//
server: {
2022-03-14 19:59:38 +00:00
port: 80, // default: 3000 (Note: Running on ports below 1024 requires root privileges!)
2022-02-24 19:45:36 +00:00
host: '0.0.0.0', // default: localhost,
timing: false
},
2022-01-25 02:45:23 +00:00
//--- Default NUXT Stuff ---//
2022-01-24 22:56:57 +00:00
head: {
2022-03-02 19:11:16 +00:00
title: 'VueTube',
2022-01-24 22:56:57 +00:00
htmlAttrs: {
lang: 'en'
},
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ name: 'format-detection', content: 'telephone=no' }
]
},
2022-01-25 02:45:23 +00:00
css: [],
2022-01-24 22:56:57 +00:00
components: true,
buildModules: [
'@nuxtjs/vuetify',
],
2022-03-15 19:43:30 +00:00
modules: [],
2022-01-24 22:56:57 +00:00
vuetify: {
customVariables: ['~/assets/variables.scss'],
theme: {
2022-02-24 19:45:36 +00:00
dark: false,
2022-01-24 22:56:57 +00:00
themes: {
2022-02-24 19:45:36 +00:00
light: {
2022-02-25 19:08:26 +00:00
primary: colors.red.lighten2,
2022-03-07 19:13:59 +00:00
primaryAlt: colors.red.lighten4,
2022-02-25 19:08:26 +00:00
accent: "#CD201F",
2022-03-02 18:57:11 +00:00
accent2: "#fff",
2022-03-02 15:57:29 +00:00
background: "#fff",
info: "#000"
2022-02-24 19:45:36 +00:00
},
2022-01-24 22:56:57 +00:00
dark: {
2022-01-25 02:45:23 +00:00
primary: colors.red.darken2, //colors.blue.darken2
2022-03-07 19:13:59 +00:00
primaryAlt: "533",
2022-03-02 18:57:11 +00:00
accent: "#333",
accent2: "#333",
2022-03-02 15:57:29 +00:00
background: "#222",
info: "#fff",
2022-01-24 22:56:57 +00:00
}
}
}
}
}