-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnuxt.config.ts
More file actions
67 lines (67 loc) · 1.57 KB
/
nuxt.config.ts
File metadata and controls
67 lines (67 loc) · 1.57 KB
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
import { defineNuxtConfig } from "nuxt/config";
// https://v3.nuxtjs.org/docs/directory-structure/nuxt.config
export default defineNuxtConfig({
app: {
pageTransition: { name: "page", mode: "out-in" },
layoutTransition: { name: "layout", mode: "out-in" },
},
//ssr: false,
//sourcemap: false,
tailwindcss: {
cssPath: "~/assets/css/tailwind.css",
configPath: "tailwind.config",
exposeConfig: false,
config: {},
injectPosition: 0,
viewer: true,
},
routeRules: {
// Static page generated on-demand once
//'/': { static: true },
},
router: {},
build: {
transpile: ["@heroicons/vue", "primevue"],
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
},
},
buildModules: [
"@nuxt/postcss8",
// ...
],
runtimeConfig: {
public: {
LOGO_WEB: process.env.LOGO_WEB || 'logo.svg',
LOGO_mobile: process.env.LOGO_WEB || 'logo.svg',
DUCKDB_DATA_API_BASE_PATH: 'process.env.DUCKDB_DATA_API_BASE_PATH' || 'https://duckdb-data-api.vercel.app',
CLOUDINARY_BASE_URL: 'process.env.CLOUDINARY_BASE_URL' || '',
CLOUDINARY_PUBLIC_ID:'v1711924071/senthilsweb-scl-card-template_cyxogj.webp' || ''
},
},
modules: [
"@nuxt/content",
"@tailvue/nuxt",
"@nuxtjs/tailwindcss",
"nuxt-icon",
"nuxt-lodash",
"@nuxtjs/robots",
],
mdc: {
highlight: {
theme: {
default: "vitesse-light",
dark: "material-theme-palenight",
},
},
},
devtools: {
enabled: true,
},
content: {
documentDriven: false,
}
});