text: import colors from 'vuetify/es5/util/colors'
  
  export default {
    mode: 'spa',
    /*
    ** Headers of the page
    */
    head: {
      titleTemplate: 'MelodyMap - Connecting musicians from all over the world',
      title: 'MelodyMap - Connecting musicians from all over the world',
      meta: [
        { charset: 'utf-8' },
        { name: 'viewport', content: 'width=device-width, initial-scale=1' },
        { hid: 'description', name: 'description', content: 'The place to find and search for bands and musicians from all over the world.' }
      ],
      link: [
        { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
        { rel: 'stylesheet', href: '//unpkg.com/leaflet/dist/leaflet.css' }
      ]
    },
    /*
    ** Customize the progress-bar color
    */
    loading: { color: '#fff' },
    /*
    ** Global CSS
    */
    css: [
      '@assets/style.css'
    ],
    /*
    ** Plugins to load before mounting the App
    */
    plugins: [
      '@plugins/leaflet',
      '@plugins/axios'
    ],
    /*
    ** Nuxt.js dev-modules
    */
    devModules: [
      // Doc: https://github.com/nuxt-community/eslint-module
      '@nuxtjs/eslint-module',
      '@nuxtjs/vuetify'
    ],
    /*
    ** Nuxt.js modules
    */
    modules: [
      // Doc: https://axios.nuxtjs.org/usage
      '@nuxtjs/axios',
      '@nuxtjs/pwa',
      '@nuxtjs/auth'
    ],
  
    auth: {
      strategies: {
        local: {
          endpoints: {
            login: { url: '/api/auth/login', method: 'post' },
            logout: { url: '/api/auth/logout', method: 'post' },
            user: { url: '/api/auth/user', method: 'get', propertyName: '' }
          },
          tokenRequired: false,
          tokenType: false
        }
      }
    },
    /*
    ** Axios module configuration
    ** See https://axios.nuxtjs.org/options
    */
    axios: {
      baseURL: process.env.BASE_URL || 'http://localhost:8000',
      credentials: true
    },
  
    env: {
      hCaptcha: process.env.HCAPTCHA_SITEKEY || '10000000-ffff-ffff-ffff-000000000001'
    },
    /*
    ** vuetify module configuration
    ** https://github.com/nuxt-community/vuetify-module
    */
    vuetify: {
      customVariables: ['~/assets/variables.scss'],
      theme: {
        themes: {
          light: {
            primary: '#327AAD',
            accent: '#395061',
            secondary: '#1C4461',
            info: '#E0EFFA',
            warning: '#419EE0',
            error: colors.deepOrange.accent4,
            success: colors.green.accent3
          }
        }
      }
    },
    /*
    ** Build configuration
    */
    build: {
      /*
      ** You can extend webpack config here
      */
      extend (config, ctx) {
      }
    },
    generate: {
      dir: '../back/static/js/'
    }
  }
  