nuxt.config.js 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. export default {
  2. mode: 'universal',
  3. /*
  4. ** Headers of the page
  5. */
  6. head: {
  7. title: process.env.npm_package_name || '',
  8. meta: [
  9. { charset: 'utf-8' },
  10. { name: 'viewport', content: 'width=device-width, initial-scale=1' },
  11. { hid: 'description', name: 'description', content: process.env.npm_package_description || '' }
  12. ],
  13. link: [
  14. { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }
  15. ]
  16. },
  17. /*
  18. ** Customize the progress-bar color
  19. */
  20. loading: { color: '#fff' },
  21. /*
  22. ** Global CSS
  23. */
  24. css: [
  25. ],
  26. /*
  27. ** Plugins to load before mounting the App
  28. */
  29. plugins: [
  30. ],
  31. /*
  32. ** Nuxt.js dev-modules
  33. */
  34. buildModules: [
  35. ],
  36. /*
  37. ** Nuxt.js modules
  38. */
  39. modules: [
  40. // Doc: https://bootstrap-vue.js.org
  41. 'bootstrap-vue/nuxt',
  42. // Doc: https://axios.nuxtjs.org/usage
  43. '@nuxtjs/axios',
  44. '@nuxtjs/pwa',
  45. ],
  46. /*
  47. ** Axios module configuration
  48. ** See https://axios.nuxtjs.org/options
  49. */
  50. axios: {
  51. },
  52. /*
  53. ** Build configuration
  54. */
  55. build: {
  56. /*
  57. ** You can extend webpack config here
  58. */
  59. extend (config, ctx) {
  60. }
  61. }
  62. }