You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
996 B

4 weeks ago
  1. module.exports = {
  2. /*
  3. ** Headers of the page
  4. */
  5. head: {
  6. title: 'AI小财神',
  7. meta: [
  8. { charset: 'utf-8' },
  9. { name: 'viewport', content: 'width=device-width, initial-scale=1' },
  10. { name: 'keywords', content: 'AI小财神' },
  11. { name: 'description', content: 'AI小财神' }
  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: '#3B8070' },
  21. /*
  22. ** Build configuration
  23. */
  24. build: {
  25. /*
  26. ** Run ESLint on save
  27. */
  28. extend(config, { isDev, isClient }) {
  29. if (isDev && isClient) {
  30. config.module.rules.push({
  31. enforce: 'pre',
  32. test: /\.(js|vue)$/,
  33. loader: 'eslint-loader',
  34. exclude: /(node_modules)/
  35. })
  36. }
  37. }
  38. },
  39. plugins: [
  40. { src: '~/plugins/nuxt-swiper-plugin.js', ssr: false },
  41. { src: '~/plugins/element-ui-plugin.js', ssr: false }
  42. ]
  43. }