-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
93 lines (89 loc) · 2.55 KB
/
nuxt.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
// https://nuxt.com/docs/api/configuration/nuxt-config
import vuetify, { transformAssetUrls } from "vite-plugin-vuetify";
const ucf_lab = "https://www.eecs.ucf.edu/isuelab/";
const project = "research/vr_selections/";
const project_page = ucf_lab + project;
export default defineNuxtConfig({
srcDir: "src/",
css: [
"@/assets/styles/main.css",
"highlight.js/styles/stackoverflow-light.css",
],
app: {
baseURL: "/isuelab/research/vr_selections/",
buildAssetsDir: "/isuelab/research/vr_selections/_nuxt/",
cdnURL: "/isuelab/research/vr_selections/",
head: {
charset: "utf-8",
viewport: "width=device-width, initial-scale=1.0",
title: "VR Selection Techniques Database",
meta: [
{
name: "description",
content:
"Explore different selection techniques in consumer VR applications!",
},
// Open Graph / Facebook
{ property: "og:type", content: "website" },
{ property: "og:url", content: project_page },
{
property: "og:title",
content: "VR Selection Techniques Database",
},
{
property: "og:description",
content:
"Explore different selection techniques in consumer VR applications!",
},
{
property: "og:image",
content: `${project_page}/preview.png`,
},
// Twitter
{ name: "twitter:card", content: "summary_large_image" },
{ property: "twitter:domain", content: ucf_lab },
{ property: "twitter:url", content: project_page },
{
name: "twitter:title",
content: "VR Selection Techniques Database",
},
{
name: "twitter:description",
content:
"Explore different selection techniques in consumer VR applications!",
},
{
name: "twitter:image",
content: `${project_page}/preview.png`,
},
],
link: [
{
rel: "icon",
type: "image/x-icon",
href: "/isuelab/research/vr_selections/logo.ico",
},
],
},
},
build: {
transpile: ["vuetify", "@mdi/font", "@highlightjs/vue-plugin"],
},
vite: {
define: {
"process.env.DEBUG": false,
},
},
modules: [
(_options, nuxt) => {
nuxt.hooks.hook("vite:extendConfig", (config) => {
config.plugins.push(vuetify({ autoImport: true }));
});
},
"nuxt-gtag",
],
gtag: {
id: "G-Z88C79SNWQ",
},
plugins: ["~/plugins/highlight.ts", "~/plugins/gtag.ts"],
});