-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
47 lines (47 loc) · 1.04 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
// https://v3.nuxtjs.org/api/configuration/nuxt.config
export default defineNuxtConfig({
app: {
head: {
charset: "utf-16",
viewport: "width=500, initial-scale=1",
title: "Sun.js",
meta: [
// <meta name="description" content="My amazing site">
{ name: "description", content: "Nuxt.js boilerplate" },
],
link: [
{
rel: "preconnect",
href: "https://rsms.me/",
},
{
rel: "stylesheet",
href: "https://rsms.me/inter/inter.css",
},
],
},
},
experimental: {
componentIslands: true,
},
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
},
css: ["/styles/global.css"],
runtimeConfig: {
// Private keys are only available on the server
apiSecret: "123",
// Public keys that are exposed to the client
public: {
apiBase: process.env.NUXT_PUBLIC_API_BASE || "/api",
},
},
modules: ["@pinia/nuxt"],
devtools: {
enabled: true,
vscode: {},
},
});