nuxt.config.js 1.6 KB

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