0
0
Fork 0
mirror of https://github.com/VueTubeApp/VueTube synced 2024-11-28 22:23:04 +00:00
VueTube/NUXT/nuxt.config.js

81 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: {
channel: "Unstable",
version: "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-08-07 20:58:48 +00:00
{ src: "~/plugins/update", 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-07-30 01:00:42 +00:00
port: 3000, // default: 3000 (Note: Running on ports below 1024 requires root privileges!)
host: "localhost", // default: localhost,
2022-03-21 23:47:11 +00:00
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: {
primary: "#136458",
2022-03-30 02:37:54 +00:00
background: "#ffffff",
2022-02-24 19:45:36 +00:00
},
2022-01-24 22:56:57 +00:00
dark: {
primary: "#00d7cd",
2022-03-31 04:22:24 +00:00
background: "#000000",
2022-03-21 23:47:11 +00:00
},
},
},
},
};