81 lines
1.7 KiB
TypeScript
81 lines
1.7 KiB
TypeScript
export default defineNuxtConfig({
|
|
devtools: { enabled: true },
|
|
css: ["~/assets/css/main.scss"],
|
|
modules: [
|
|
"nuxt-icon",
|
|
"@nuxtjs/i18n",
|
|
"@dargmuesli/nuxt-cookie-control",
|
|
'@nuxt/content',
|
|
'@nuxthq/studio',
|
|
'@vueuse/motion/nuxt',
|
|
['nuxt-mail', {
|
|
message: {
|
|
to: 'info@conop-systems.com',
|
|
},
|
|
smtp: {
|
|
port: 587,
|
|
host: "smtp.conop-systems.com"
|
|
},
|
|
}],
|
|
'vue-recaptcha/nuxt'
|
|
],
|
|
app: {
|
|
pageTransition: { name: 'page', mode: 'out-in' },
|
|
},
|
|
postcss: {
|
|
plugins: {
|
|
tailwindcss: {},
|
|
autoprefixer: {},
|
|
},
|
|
},
|
|
vite: {
|
|
css: {
|
|
preprocessorOptions: {
|
|
scss: {
|
|
additionalData: '@import "~/assets/css/variables.scss";',
|
|
},
|
|
},
|
|
},
|
|
},
|
|
i18n: {
|
|
locales: [
|
|
{ code: "en", iso: "en-US", name: "English", },
|
|
{ code: "de", iso: "de-DE", name: "Deutsch", },
|
|
],
|
|
strategy: 'prefix',
|
|
defaultLocale: "en",
|
|
vueI18n: "./i18n.config.ts",
|
|
detectBrowserLanguage: {
|
|
useCookie: true,
|
|
cookieKey: "i18n_redirected",
|
|
redirectOn: "root",
|
|
alwaysRedirect: true,
|
|
cookieCrossOrigin: true
|
|
}
|
|
},
|
|
cookieControl: {
|
|
locales: ["en", "de"],
|
|
isControlButtonEnabled: false,
|
|
colors: {
|
|
barBackground: "#00304A",
|
|
barButtonBackground: "#0AA5D3",
|
|
},
|
|
cookieOptions: {
|
|
sameSite: 'none',
|
|
secure: true
|
|
}
|
|
},
|
|
runtimeConfig: {
|
|
recaptchaSecretKey: '',
|
|
public: {
|
|
recaptchaSiteKey: '6LdqNG4pAAAAAHAMtgsTv7cx8TZXwwxOXzeXppB8',
|
|
recaptcha: {
|
|
v2SiteKey: '6LdqNG4pAAAAAHAMtgsTv7cx8TZXwwxOXzeXppB8'
|
|
}
|
|
}
|
|
},
|
|
recaptcha: {
|
|
plugin: true
|
|
}
|
|
|
|
});
|