nuxt.config.js 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. import colors from 'vuetify/es5/util/colors'
  2. export default {
  3. // Global page headers: https://go.nuxtjs.dev/config-head
  4. head: {
  5. titleTemplate: '%s - frames',
  6. title: 'frames',
  7. htmlAttrs: {
  8. lang: 'en'
  9. },
  10. meta: [
  11. { charset: 'utf-8' },
  12. { name: 'viewport', content: 'width=device-width, initial-scale=1' },
  13. { hid: 'description', name: 'description', content: '' },
  14. { name: 'format-detection', content: 'telephone=no' }
  15. ],
  16. link: [
  17. { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }
  18. ]
  19. },
  20. // Global CSS: https://go.nuxtjs.dev/config-css
  21. css: [
  22. ],
  23. // Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins
  24. plugins: [
  25. ],
  26. // Auto import components: https://go.nuxtjs.dev/config-components
  27. components: true,
  28. // Modules for dev and build (recommended): https://go.nuxtjs.dev/config-modules
  29. buildModules: [
  30. // https://go.nuxtjs.dev/typescript
  31. '@nuxt/typescript-build',
  32. // https://go.nuxtjs.dev/vuetify
  33. '@nuxtjs/vuetify'
  34. ],
  35. // Modules: https://go.nuxtjs.dev/config-modules
  36. modules: [
  37. // https://go.nuxtjs.dev/axios
  38. '@nuxtjs/axios'
  39. ],
  40. // Axios module configuration: https://go.nuxtjs.dev/config-axios
  41. axios: {},
  42. // Vuetify module configuration: https://go.nuxtjs.dev/config-vuetify
  43. vuetify: {
  44. customVariables: ['~/assets/variables.scss'],
  45. theme: {
  46. dark: true,
  47. themes: {
  48. dark: {
  49. primary: colors.blue.darken2,
  50. accent: colors.grey.darken3,
  51. secondary: colors.amber.darken3,
  52. info: colors.teal.lighten1,
  53. warning: colors.amber.base,
  54. error: colors.deepOrange.accent4,
  55. success: colors.green.accent3
  56. }
  57. }
  58. }
  59. },
  60. // Build Configuration: https://go.nuxtjs.dev/config-build
  61. build: {
  62. }
  63. }