-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnuxt.config.js
More file actions
47 lines (47 loc) · 1.67 KB
/
nuxt.config.js
File metadata and controls
47 lines (47 loc) · 1.67 KB
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
export default {
components: true,
modules: [
'@nuxtjs/dayjs',
'@nuxtjs/axios',
'@nuxtjs/color-mode',
'@nuxtjs/google-fonts',
'vue-toastification/nuxt',
],
buildModules: ['@nuxtjs/dotenv'],
plugins: [
// The order for this will remain same
// DO NOT CHANGE THE ORDER
{ src: '@/plugins/plugin-session', mode: 'client' },
'@/plugins/plugin-axios',
'@/plugins/plugin-api',
// Add other plugins here
'@/plugins/plugin-icon',
{ src: '@plugins/plugin-notification', mode: 'client' },
],
css: ['@/assets/css/main.css', '@/assets/fonts/css/nuxt-google-fonts.css'],
head: {
htmlAttrs: { lang: 'en' },
link: [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }],
title: 'Book Ayurvedic, Yoga & Siddha Consultation Online - Naturefit',
meta: [
{ charset: 'utf-8' },
{ name: 'format-detection', content: 'telephone=no' },
{ hid: 'description', name: 'description', content: '' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
],
},
googleFonts: {
preload: true,
prefetch: true,
download: true,
display: 'swap',
preconnect: true,
overwriting: false,
outputDir: '@/assets/fonts',
families: {
'Encode+Sans': ['100', '200', '300', '400', '500', '600', '700', '800', '900'],
'Lexend+Deca': ['100', '200', '300', '400', '500', '600', '700', '800', '900'],
},
},
build: { postcss: { postcssOptions: { plugins: { tailwindcss: {}, autoprefixer: {} } } } },
}