alex-sharoff-website/nuxt.config.js
2023-11-11 10:34:31 +04:00

67 lines
1.6 KiB
JavaScript

export default {
server: {
host: '0' // default: localhost
},
// Target: https://go.nuxtjs.dev/config-target
target: "static",
colorMode: {
classSuffix: "",
},
// Global page headers: https://go.nuxtjs.dev/config-head
head: {
title: "Alex Sharoff",
htmlAttrs: {
lang: "en"
},
meta: [
{ charset: "utf-8" },
{ name: "viewport", content: "width=device-width, initial-scale=1" },
{ hid: "description", name: "description", content: "" },
{ name: "format-detection", content: "telephone=no" },
],
link: [{ rel: "icon", type: "image/x-icon", href: "/favicon.png" }],
},
// Global CSS: https://go.nuxtjs.dev/config-css
css: [
"~/assets/app.css",
"~/assets/fonts/FuturaPT/futura-pt.css"
],
// Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins
plugins: [
// { src: '~/plugins/vue-isotope', mode: 'client' },
],
// Auto import components: https://go.nuxtjs.dev/config-components
components: true,
// Modules for dev and build (recommended): https://go.nuxtjs.dev/config-modules
buildModules: [
"@nuxtjs/tailwindcss",
"@nuxtjs/color-mode",
],
// Modules: https://go.nuxtjs.dev/config-modules
modules: [
'@nuxtjs/recaptcha',
],
// Build Configuration: https://go.nuxtjs.dev/config-build
build: {
// extend (config, ctx) {
// if (ctx.isDev) {
// config.devtool = ctx.isClient ? 'source-map' : 'inline-source-map'
// }
// }
},
recaptcha: {
hideBadge: true,
siteKey: '6LeGbUElAAAAACaZos82QiUanP78WgZTrc4KCCRj',
version: 2
}
};