0
0
Fork 0
mirror of https://github.com/VueTubeApp/VueTube synced 2024-11-16 16:25:17 +00:00
VueTube/NUXT/nuxt.config.js
2022-03-21 20:52:45 -04:00

77 lines
1.7 KiB
JavaScript

import colors from "vuetify/es5/util/colors";
/**** Front's Notes / Don't Remove ****
* Data Storage:
* localStorage.setItem("key", data)
* localStorage.getItem('key')
*/
export default {
//--- Bettertube Stuff ---//
env: {
appVersion: "dev-local",
},
target: "static",
plugins: [
{ src: "~/plugins/youtube", mode: "client" },
{ src: "~/plugins/vuetube", mode: "client" },
{ src: "~/plugins/ryd", mode: "client" },
],
generate: {
dir: "../dist",
},
//--- Bettertube Debugging ---//
server: {
port: 80, // default: 3000 (Note: Running on ports below 1024 requires root privileges!)
host: "0.0.0.0", // default: localhost,
timing: false,
},
//--- Default NUXT Stuff ---//
head: {
title: "VueTube",
htmlAttrs: {
lang: "en",
},
meta: [
{ charset: "utf-8" },
{ name: "viewport", content: "width=device-width, initial-scale=1" },
{ name: "format-detection", content: "telephone=no" },
],
},
css: [],
components: true,
buildModules: ["@nuxtjs/vuetify"],
modules: [],
vuetify: {
customVariables: ["~/assets/variables.scss"],
theme: {
dark: false,
options: { customProperties: true },
themes: {
light: {
primary: {
base: colors.red.lighten2,
lighten2: colors.red.lighten4,
},
background: "#fff",
accent: "#fff",
info: "#000",
},
dark: {
primary: {
base: colors.red.darken2,
lighten2: "#533",
},
background: "#333",
accent: "#222",
info: "#fff",
},
},
},
},
};