nuxt.config.js 3.0 KB

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