-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
54 lines (53 loc) · 1.43 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
// https://nuxt.com/docs/api/configuration/nuxt-config
import vuetify from "vite-plugin-vuetify";
export default defineNuxtConfig({
app: {
head: {
title: "My Awesome App",
htmlAttrs: {
lang: "en",
},
meta: [
// <meta name="viewport" content="width=device-width, initial-scale=1">
{ name: "viewport", content: "width=device-width, initial-scale=1" },
],
script: [
// <script src="https://myawesome-lib.js"></script>
// { src: "https://awesome-lib.js" },
],
link: [
// <link rel="stylesheet" href="https://myawesome-lib.css">
// { rel: "stylesheet", href: "https://awesome-lib.css" },
],
// please note that this is an area that is likely to change
style: [
// <style type="text/css">:root { color: red }</style>
// { children: ":root { color: black }" },
],
noscript: [
// <noscript>JavaScript is required</noscript>
{ children: "JavaScript is required" },
],
},
},
css: [
"@/assets/css/style.css",
"vuetify/lib/styles/main.sass",
"@mdi/font/css/materialdesignicons.min.css",
],
modules: [
async (options, nuxt: any) => {
nuxt.hooks.hook("vite:extendConfig", (config: any) =>
config.plugins.push(vuetify())
);
},
],
build: {
transpile: ["vuetify"],
},
vite: {
define: {
"process.env.DEBUG": false,
},
},
});