Advertisement
Guest User

Untitled

a guest
Apr 7th, 2020
300
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const path = require('path')
  2. const pkg = require('./package')
  3.  
  4. import colors from 'vuetify/es5/util/colors'
  5.  
  6. module.exports = {
  7.   mode: 'universal',
  8.   server: {
  9.     port: 5500,
  10.     host: '0.0.0.0'
  11.   },
  12.   head: {
  13.     titleTemplate: 'Malekai - %s ',
  14.     meta: [
  15.       { charset: 'utf-8' },
  16.       { name: 'viewport', content: 'width=device-width, initial-scale=1' },
  17.       { hid: 'description', name: 'description', content: pkg.description },
  18.       { property: 'og:type', content: 'website' },
  19.       { property: 'og:site_name', content: 'Malekai' },
  20.       {
  21.         property: 'og:description',
  22.         content: 'The Premier Crowfall Resource.'
  23.       },
  24.       {
  25.         property: 'og:image',
  26.         content: '/images/malekai-splash.jpg'
  27.       }
  28.     ],
  29.     link: [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }]
  30.   },
  31.   loading: { color: '#000' },
  32.   css: ['@/assets/css/tailwind.css', '@/assets/css/malekai.css'],
  33.   plugins: [],
  34.   modules: ['@nuxtjs/axios', '@nuxtjs/google-analytics', 'nuxt-webfontloader'],
  35.   axios: {},
  36.   googleAnalytics: {
  37.     id: 'UA-111445866-2'
  38.   },
  39.   tailwindcss: {
  40.     exposeConfig: true
  41.   },
  42.   vuetify: {
  43.     customVariables: ['~/assets/variables.scss'],
  44.     theme: {
  45.       dark: true,
  46.       themes: {
  47.         dark: {
  48.           primary: colors.blue.darken2,
  49.           accent: colors.grey.darken3,
  50.           secondary: colors.amber.darken3,
  51.           info: colors.teal.lighten1,
  52.           warning: colors.amber.base,
  53.           error: colors.deepOrange.accent4,
  54.           success: colors.green.accent3
  55.         }
  56.       }
  57.     }
  58.   },
  59.   buildModules: [
  60.     '@nuxtjs/tailwindcss',
  61.     ['@teamnovu/nuxt-breaky', { enabled: true, colorScheme: 'light' }],
  62.     '@nuxtjs/vuetify'
  63.   ],
  64.   build: {
  65.     /*
  66.      ** You can extend webpack config here
  67.      */
  68.     extend(config, ctx) {}
  69.   }
  70. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement