0
0
Fork 0
mirror of https://github.com/VueTubeApp/VueTube synced 2024-11-06 03:25:07 +00:00
VueTube/NUXT/nuxt.config.js
Kenny 84a7ffbc08 fix: 🐛 Fix 4688681
woohoo time for depression programming my favorite :)

4688681900
2022-08-22 13:35:31 -04:00

80 lines
1.7 KiB
JavaScript

/**** Front's Notes / Don't Remove ****
* Data Storage:
* localStorage.setItem("key", data)
* localStorage.getItem('key')
* this.$router.push("PageName");
*/
export default {
//--- VueTube Stuff ---//
env: {
channel: "Unstable",
version: "dev-local",
},
target: "static",
ssr: false,
plugins: [
{ src: "~/plugins/youtube", mode: "client" },
{ src: "~/plugins/vuetube", mode: "client" },
{ src: "~/plugins/ryd", mode: "client" },
{ src: "~/plugins/thirdPartyPluginLoader", mode: "client" },
{ src: "~/plugins/language", mode: "client" },
{ src: "~/plugins/update", mode: "client" },
],
generate: {
dir: "../dist",
},
//--- VueTube Debugging ---//
server: {
port: 3000, // default: 3000 (Note: Running on ports below 1024 requires root privileges!)
host: "localhost", // 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.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover",
},
{ name: "format-detection", content: "telephone=no" },
],
},
css: [],
components: true,
buildModules: ["@nuxtjs/vuetify"],
modules: [],
vuetify: {
customVariables: ["~/assets/variables.scss"],
treeShake: true,
theme: {
dark: true,
options: {
customProperties: true,
},
themes: {
light: {
primary: "#136458",
background: "#ffffff",
},
dark: {
primary: "#00d7cd",
background: "#000000",
},
},
},
},
};