-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
34 lines (34 loc) · 918 Bytes
/
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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: true },
ssr: false,
modules: ["nuxt-primevue", "@nuxtjs/tailwindcss", "@pinia/nuxt"],
primevue: {
cssLayerOrder: "tailwind-base, primevue, tailwind-utilities",
components: {
include: ["Button", "Dialog", "Toast"],
exclude: ["Editor", "Chart"],
},
options: {
ripple: true,
},
},
css: [
"primevue/resources/themes/aura-light-green/theme.css",
"primeicons/primeicons.css",
],
tailwindcss: {
cssPath: ["~/assets/css/tailwind.css", { injectPosition: "first" }],
},
runtimeConfig: {
public: {
API_ENDPOINT:
process.env.NODE_ENV === "production"
? process.env.API_ENDPOINT
: "http://localhost/work/request-collect-and-forward/backend/requests.php",
},
},
typescript: {
typeCheck: true,
},
});