Created
October 18, 2020 03:39
-
-
Save somaria/9a2b0e06497d13a35fe9eee141a15d07 to your computer and use it in GitHub Desktop.
nuxt.config.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default { | |
/* | |
** Nuxt rendering mode | |
** See https://nuxtjs.org/api/configuration-mode | |
*/ | |
/* | |
** Nuxt target | |
** See https://nuxtjs.org/api/configuration-target | |
*/ | |
target: "static", | |
/* | |
** Headers of the page | |
** See https://nuxtjs.org/api/configuration-head | |
*/ | |
head: { | |
title: process.env.npm_package_name || "", | |
meta: [ | |
{ charset: "utf-8" }, | |
{ name: "viewport", content: "width=device-width, initial-scale=1" }, | |
{ | |
hid: "description", | |
name: "description", | |
content: process.env.npm_package_description || "" | |
} | |
], | |
link: [{ rel: "icon", type: "image/x-icon", href: "/favicon.ico" }], | |
script: [ | |
{ | |
type: "module", | |
src: "https://cdn.jsdelivr.net/npm/codebird@2.6.0/codebird.min.js" | |
} | |
] | |
}, | |
/* | |
** Global CSS | |
*/ | |
css: [], | |
/* | |
** Plugins to load before mounting the App | |
** https://nuxtjs.org/guide/plugins | |
*/ | |
plugins: ["services/firebase.js", "~/plugins/disqus"], | |
/* | |
** Auto import components | |
** See https://nuxtjs.org/api/configuration-components | |
*/ | |
components: true, | |
/* | |
** Nuxt.js dev-modules | |
*/ | |
buildModules: [ | |
// Doc: https://github.com/nuxt-community/nuxt-tailwindcss | |
"@nuxtjs/tailwindcss", | |
"@nuxtjs/fontawesome" | |
], | |
fontawesome: { | |
component: "fa", | |
icons: { | |
solid: true, | |
brands: true | |
} | |
}, | |
/* | |
** Nuxt.js modules | |
*/ | |
modules: [ | |
// Doc: https://axios.nuxtjs.org/usage | |
"@nuxtjs/axios", | |
"@nuxtjs/proxy", | |
[ | |
"@nuxtjs/google-adsense", | |
{ | |
id: "ca-pub-6440395668892437" | |
} | |
] | |
], | |
/* | |
** Axios module configuration | |
** See https://axios.nuxtjs.org/options | |
*/ | |
axios: {}, | |
/* | |
** Build configuration | |
** See https://nuxtjs.org/api/configuration-build/ | |
*/ | |
build: {} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment