nuxt.config.js 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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: 'Return Youtube Dislike',
  6. title: 'Return Youtube Dislike',
  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: 'An extension that returns dislike statistics to YouTube. For now, it only works if a video had public display of dislikes enabled before YouTube removed dislike stats. ' },
  14. { hid: 'og:image', name: 'og:image', content: '/logo.png' },
  15. { hid: 'theme-color', name: 'theme-color', content: '#ff0000' }
  16. ],
  17. link: [
  18. { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }
  19. ]
  20. },
  21. target: 'static',
  22. css: [],
  23. plugins: [],
  24. components: true,
  25. buildModules: [
  26. '@nuxtjs/vuetify',
  27. ],
  28. modules: [],
  29. // Vuetify module configuration: https://go.nuxtjs.dev/config-vuetify
  30. vuetify: {
  31. customVariables: ['~/assets/variables.scss'],
  32. theme: {
  33. dark: true,
  34. themes: {
  35. dark: {
  36. primary: "#ff4444",
  37. accent: colors.grey.darken3,
  38. secondary: colors.amber.darken3,
  39. info: colors.teal.lighten1,
  40. warning: colors.amber.base,
  41. error: colors.deepOrange.accent4,
  42. success: colors.green.accent3
  43. }
  44. }
  45. }
  46. },
  47. build: {}
  48. }