nuxt.config.js 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. export default {
  2. mode: 'universal',
  3. /*
  4. ** Headers of the page
  5. */
  6. head: {
  7. title: '厦门祖儿科技',
  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: 'apple-touch-icon', sizes:'180x180', href: '/assets/images/favicons/apple-touch-icon.png' },
  15. // { rel: 'icon', type: 'image/png', sizes:'32x32', href: '/assets/images/favicons/favicon-32x32.png' },
  16. // { rel: 'icon', type: 'image/png', sizes:'16x16', href: '/assets/images/favicons/favicon-16x16.png' },
  17. {
  18. rel: "stylesheet",
  19. href:
  20. "https://fonts.googleapis.com/css?family=Rubik:300,400,500,700,900&display=swap"
  21. },
  22. { rel: "stylesheet", href: "/assets/css/bootstrap.min.css" },
  23. { rel: "stylesheet", href: "/assets/css/animate.min.css" },
  24. { rel: "stylesheet", href: "/assets/css/owl.carousel.min.css" },
  25. { rel: "stylesheet", href: "/assets/css/owl.theme.default.min.css" },
  26. { rel: "stylesheet", href: "/assets/css/magnific-popup.css" },
  27. { rel: "stylesheet", href: "/assets/css/font-awesome.min.css" },
  28. { rel: "stylesheet", href: "/assets/css/swiper.min.css" },
  29. { rel: "stylesheet", href: "/assets/plugins/dimon-icons/style.css" },
  30. { rel: "stylesheet", href: "/assets/css/style.css" },
  31. { rel: "stylesheet", href: "/assets/css/responsive.css" },
  32. ],
  33. script: [
  34. { src: "/assets/js/jquery.min.js", type: "text/javascript", body: true },
  35. { src: "/assets/js/bootstrap.bundle.min.js", type: "text/javascript", body: true },
  36. { src: "/assets/js/owl.carousel.min.js", type: "text/javascript", body: true },
  37. { src: "/assets/js/waypoints.min.js", type: "text/javascript", body: true },
  38. { src: "/assets/js/jquery.counterup.min.js", type: "text/javascript", body: true },
  39. { src: "/assets/js/TweenMax.min.js", type: "text/javascript", body: true },
  40. { src: "/assets/js/wow.js", type: "text/javascript", body: true },
  41. { src: "/assets/js/jquery.magnific-popup.min.js", type: "text/javascript", body: true },
  42. { src: "/assets/js/jquery.ajaxchimp.min.js", type: "text/javascript", body: true },
  43. { src: "/assets/js/swiper.min.js", type: "text/javascript", body: true },
  44. { src: "/assets/js/jquery.easing.min.js", type: "text/javascript", body: true },
  45. ]
  46. },
  47. /*
  48. ** Customize the progress-bar color
  49. */
  50. loading: { color: '#fff' },
  51. /*
  52. ** Global CSS
  53. */
  54. css: [
  55. ],
  56. /*
  57. ** Plugins to load before mounting the App
  58. */
  59. plugins: [
  60. ],
  61. /*
  62. ** Nuxt.js dev-modules
  63. */
  64. buildModules: [
  65. ],
  66. /*
  67. ** Nuxt.js modules
  68. */
  69. modules: [
  70. ],
  71. /*
  72. ** optimizedImages
  73. */
  74. optimizedImages: {
  75. optimizeImages: true
  76. },
  77. /*
  78. ** Build configuration
  79. */
  80. build: {
  81. /*
  82. ** You can extend webpack config here
  83. */
  84. extend (config, ctx) {
  85. }
  86. }
  87. }