nuxt.config.js 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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. { rel: 'stylesheet', href: '/css/font-awesome/css/all.css' },
  16. { rel: 'stylesheet', href: '/css/default.css' }
  17. ]
  18. },
  19. /*
  20. ** Customize the progress-bar color
  21. */
  22. loading: { color: '#fff' },
  23. /*
  24. ** Global CSS
  25. */
  26. css: [
  27. ],
  28. /*
  29. ** Plugins to load before mounting the App
  30. */
  31. plugins: [
  32. ],
  33. /*
  34. ** Nuxt.js dev-modules
  35. */
  36. buildModules: [
  37. ],
  38. /*
  39. ** Nuxt.js modules
  40. */
  41. modules: [
  42. // Doc: https://bootstrap-vue.js.org
  43. 'bootstrap-vue/nuxt',
  44. // Doc: https://axios.nuxtjs.org/usage
  45. '@nuxtjs/axios',
  46. '@nuxtjs/pwa',
  47. ],
  48. /*
  49. ** Axios module configuration
  50. ** See https://axios.nuxtjs.org/options
  51. */
  52. axios: {
  53. },
  54. /*
  55. ** Build configuration
  56. */
  57. build: {
  58. /*
  59. ** You can extend webpack config here
  60. */
  61. extend (config, ctx) {
  62. }
  63. }
  64. }