nuxt.config.ts 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. // https://nuxt.com/docs/api/configuration/nuxt-config
  2. export default defineNuxtConfig({
  3. /* Application Settings */
  4. app: {
  5. /* Application Header */
  6. head: {
  7. charset: 'utf-8',
  8. viewport: 'width=device-width, initial-scale=1',
  9. title: 'Wally Dice — Blockchain Fun For ALL Ages',
  10. meta: [
  11. { name: 'description', content: 'Fun dice game for all.' },
  12. ],
  13. link: [
  14. { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }
  15. ],
  16. },
  17. },
  18. /* Progressive Web Application Settings */
  19. pwa: {
  20. manifest: {
  21. name: 'Wally Dice — Blockchain Fun For ALL Ages',
  22. short_name: 'Wally Dice',
  23. description: `Fun dice game for all.`,
  24. lang: 'en',
  25. theme_color: '#518c96',
  26. background_color: '#518c96',
  27. // useWebmanifestExtension: false,
  28. },
  29. meta: {
  30. name: 'Wally Dice — Blockchain Fun For ALL Ages',
  31. description: `Wally Dice`,
  32. author: `0xShomari`,
  33. },
  34. // icon: false, // disables the icon module
  35. workbox: {
  36. // workboxURL: 'TBD',
  37. // enabled: true, // FOR DEV PURPOSES ONLY
  38. },
  39. },
  40. /* Application Modules */
  41. modules: [
  42. /* Tailwind CSS */
  43. '@nuxtjs/tailwindcss',
  44. /* Pinia */
  45. '@pinia/nuxt',
  46. /* Plausible */
  47. '@nuxtjs/plausible',
  48. ],
  49. /* Plausible (self-hosted) */
  50. plausible: {
  51. apiHost: 'https://plausible.hos.im',
  52. autoOutboundTracking: true,
  53. },
  54. /* Set compatibility date. */
  55. compatibilityDate: '2024-09-10',
  56. })