56 lines
1.7 KiB
TypeScript
56 lines
1.7 KiB
TypeScript
import { GraphQLClient } from "graphql-request";
|
|
|
|
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
export default defineNuxtConfig({
|
|
compatibilityDate: '2025-07-15',
|
|
devtools: { enabled: true },
|
|
ssr: false,
|
|
modules: ["@formkit/nuxt"],
|
|
devServer: {
|
|
port: 1420
|
|
},
|
|
runtimeConfig: {
|
|
graphqlEndpoint: process.env.GRAPHQL_ENDPOINT_INTERNAL || "http://localhost:3000/graphql",
|
|
apiBase: process.env.API_BASE_INTERNAL || "http://localhost:3000/api",
|
|
public: {
|
|
graphqlEndpoint: process.env.GRAPHQL_ENDPOINT_PUBLIC || "http://backend:3000/graphql",
|
|
apiBase: process.env.API_BASE_PUBLIC || "http://backend:3000/api"
|
|
}
|
|
},
|
|
|
|
css: [
|
|
'~/assets/mobirise/css/additional.scss',
|
|
'~/assets/web/assets/mobirise-icons2/mobirise2.css',
|
|
'~/assets/parallax/jarallax.css',
|
|
'~/assets/bootstrap/css/bootstrap.min.css',
|
|
'~/assets/bootstrap/css/bootstrap-grid.min.css',
|
|
'~/assets/bootstrap/css/bootstrap-reboot.min.css',
|
|
'~/assets/dropdown/css/style.scss',
|
|
'~/assets/socicon/css/styles.css',
|
|
'~/assets/animatecss/animate.css',
|
|
'~/assets/theme/css/style.css',
|
|
'~/assets/css/index.css',
|
|
'~/assets/main.scss'
|
|
],
|
|
app: {
|
|
head: {
|
|
link: [
|
|
{
|
|
rel: "stylesheet",
|
|
href: "https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap"
|
|
},
|
|
{
|
|
rel: "stylesheet",
|
|
href: "https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;700&display=swap"
|
|
},
|
|
{
|
|
rel: "stylesheet",
|
|
href: "https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0"
|
|
}
|
|
]
|
|
}
|
|
|
|
}
|
|
|
|
})
|