0
0
Fork 0
mirror of https://github.com/VueTubeApp/VueTube synced 2024-11-29 22:53:05 +00:00
VueTube/NUXT/nuxt.config.js

79 lines
1.7 KiB
JavaScript
Raw Normal View History

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')
* this.$router.push("PageName");
2022-03-21 23:47:11 +00:00
*/
2022-01-24 22:56:57 +00:00
export default {
//--- VueTube Stuff ---//
env: {
2022-03-10 17:51:40 +00:00
appVersion: "dev-local",
},
2022-03-21 23:47:11 +00:00
target: "static",
ssr: false,
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" },
{ src: "~/plugins/thirdPartyPluginLoader", mode: "client" },
{ src: "~/plugins/language", 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
//--- VueTube Debugging ---//
2022-02-24 19:45:36 +00:00
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" },
2022-03-28 19:59:08 +00:00
{
name: "viewport",
content:
"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover",
2022-03-28 19:59:08 +00:00
},
2022-03-21 23:47:11 +00:00
{ 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-03-23 23:58:35 +00:00
treeShake: true,
2022-01-24 22:56:57 +00:00
theme: {
2022-03-28 19:59:08 +00:00
dark: true,
options: {
customProperties: true,
},
2022-01-24 22:56:57 +00:00
themes: {
2022-02-24 19:45:36 +00:00
light: {
2022-03-30 02:37:54 +00:00
primary: "#E57373",
background: "#ffffff",
2022-02-24 19:45:36 +00:00
},
2022-01-24 22:56:57 +00:00
dark: {
2022-03-31 04:22:24 +00:00
primary: "#B71C1C",
background: "#000000",
2022-03-21 23:47:11 +00:00
},
},
},
},
};