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

78 lines
1.7 KiB
JavaScript
Raw Normal View History

2022-03-21 23:47:11 +00:00
import colors from "vuetify/es5/util/colors";
2022-03-13 19:45:48 +00:00
/**** Front's Notes / Don't Remove ****
2022-03-21 23:47:11 +00:00
* Data Storage:
* localStorage.setItem("key", data)
* localStorage.getItem('key')
*/
2022-01-24 22:56:57 +00:00
export default {
2022-01-25 02:45:23 +00:00
//--- Bettertube Stuff ---//
env: {
2022-03-10 17:51:40 +00:00
appVersion: "dev-local",
},
2022-03-21 23:47:11 +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" },
2022-03-20 18:42:12 +00:00
{ src: "~/plugins/vuetube", mode: "client" },
2022-03-21 23:47:11 +00:00
{ src: "~/plugins/ryd", mode: "client" },
2022-02-24 19:45:36 +00:00
],
generate: {
2022-03-21 23:47:11 +00:00
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-03-21 23:47:11 +00:00
host: "0.0.0.0", // default: localhost,
timing: false,
2022-02-24 19:45:36 +00:00
},
2022-01-25 02:45:23 +00:00
//--- Default NUXT Stuff ---//
2022-01-24 22:56:57 +00:00
head: {
2022-03-21 23:47:11 +00:00
title: "VueTube",
2022-01-24 22:56:57 +00:00
htmlAttrs: {
2022-03-21 23:47:11 +00:00
lang: "en",
2022-01-24 22:56:57 +00:00
},
meta: [
2022-03-21 23:47:11 +00:00
{ charset: "utf-8" },
{ name: "viewport", content: "width=device-width, initial-scale=1" },
{ name: "format-detection", content: "telephone=no" },
],
2022-01-24 22:56:57 +00:00
},
2022-01-25 02:45:23 +00:00
css: [],
2022-01-24 22:56:57 +00:00
components: true,
2022-03-21 23:47:11 +00:00
buildModules: ["@nuxtjs/vuetify"],
2022-03-15 19:43:30 +00:00
modules: [],
2022-01-24 22:56:57 +00:00
vuetify: {
2022-03-21 23:47:11 +00:00
customVariables: ["~/assets/variables.scss"],
2022-01-24 22:56:57 +00:00
theme: {
2022-03-21 21:49:23 +00:00
dark: false,
options: { customProperties: true },
2022-01-24 22:56:57 +00:00
themes: {
2022-02-24 19:45:36 +00:00
light: {
2022-03-22 00:52:45 +00:00
primary: {
base: colors.red.lighten2,
lighten2: colors.red.lighten4,
},
2022-03-02 15:57:29 +00:00
background: "#fff",
2022-03-22 00:52:45 +00:00
accent: "#fff",
2022-03-21 23:47:11 +00:00
info: "#000",
2022-02-24 19:45:36 +00:00
},
2022-01-24 22:56:57 +00:00
dark: {
2022-03-22 00:52:45 +00:00
primary: {
base: colors.red.darken2,
lighten2: "#533",
},
background: "#333",
2022-03-22 00:52:45 +00:00
accent: "#222",
info: "#fff",
2022-03-21 23:47:11 +00:00
},
},
},
},
};