-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.js
47 lines (46 loc) · 1.01 KB
/
nuxt.config.js
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
35
36
37
38
39
40
41
42
43
44
45
46
47
import metaTags from './utility/metaTags'
export default {
ssr: true,
target: 'server',
head: {
title: 'Fur~miliar',
htmlAttrs: {
lang: 'en',
},
meta: [...metaTags],
link: [
{ rel: 'icon', type: 'image/svg+xml', href: '/furmiliar-favicon.svg' },
{
rel: 'alternate icon',
type: 'image/x-icon',
href: '/furmiliar-favicon.ico',
},
{ rel: 'preconnect', href: 'https://fonts.gstatic.com' },
{
rel: 'stylesheet',
href:
'https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;600;700&display=swap',
},
],
},
css: [],
plugins: [],
components: true,
buildModules: [
'@nuxtjs/eslint-module',
'@nuxtjs/tailwindcss',
'@nuxtjs/device',
'@nuxtjs/stylelint-module',
],
modules: ['@nuxtjs/axios'],
axios: {
baseUrl: '/server-middleware',
},
build: {},
serverMiddleware: [
{
path: '/server-middleware',
handler: '~/server-middleware/fetch-cat-breed.js',
},
],
}