nuxt.config.js 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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 - orion-app',
  6. title: 'orion-app',
  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. ],
  15. link: [
  16. { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }
  17. ]
  18. },
  19. // Global CSS: https://go.nuxtjs.dev/config-css
  20. css: [
  21. ],
  22. // Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins
  23. plugins: [
  24. ],
  25. // Auto import components: https://go.nuxtjs.dev/config-components
  26. components: true,
  27. // Modules for dev and build (recommended): https://go.nuxtjs.dev/config-modules
  28. buildModules: [
  29. // https://go.nuxtjs.dev/typescript
  30. '@nuxt/typescript-build',
  31. // https://go.nuxtjs.dev/vuetify
  32. '@nuxtjs/vuetify',
  33. ],
  34. // Modules: https://go.nuxtjs.dev/config-modules
  35. modules: [
  36. // https://go.nuxtjs.dev/axios
  37. '@nuxtjs/axios',
  38. ],
  39. // Axios module configuration: https://go.nuxtjs.dev/config-axios
  40. axios: {},
  41. // Vuetify module configuration: https://go.nuxtjs.dev/config-vuetify
  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. // Build Configuration: https://go.nuxtjs.dev/config-build
  60. build: {
  61. }
  62. }