-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
43 lines (42 loc) · 1.48 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
// https://nuxt.com/docs/api/configuration/nuxt-config
import vuetify from "vite-plugin-vuetify";
export default defineNuxtConfig({
ssr: true,
css: ["vuetify/styles", "@mdi/font/css/materialdesignicons.css", "~/assets/css/main.scss"],
build: {
transpile: ["vuetify"],
},
typescript: {
typeCheck: true,
},
srcDir: "src",
app: {
head: {
title: "Terraria - NPC Planner",
meta: [
{ name: "author", content: "Machine Maker" },
{ name: "description", content: "A planning tool to setup Terraria NPCs to get the happiness values you want." },
{ name: "og:title", content: "Terraria - NPC Planner" },
{ name: "og:description", content: "A planning tool to setup Terraria NPCs to get the happiness values you want." },
{ name: "theme-color", content: "#F38C4F" },
{ name: "msapplication-TileColor", content: "#F38C4F" },
],
link: [
{ rel: "apple-touch-icon", sizes: "180x180", href: "/apple-touch-icon.png" },
{ rel: "icon", type: "image/png", sizes: "32x32", href: "/favicon-32x32.png" },
{ rel: "icon", type: "image/png", sizes: "16x16", href: "/favicon-16x16.png" },
{ rel: "manifest", href: "/site.webmanifest" },
],
},
},
modules: [
"@pinia/nuxt",
async (options, nuxt) => {
nuxt.hooks.hook("vite:extendConfig", (config) => {
if (config.plugins) {
config.plugins.push(vuetify({ autoImport: true }));
}
});
},
],
});