nuxt.config.js 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. export default {
  2. // Global page headers: https://go.nuxtjs.dev/config-head
  3. head: {
  4. title: '汇融数科',
  5. htmlAttrs: {
  6. lang: 'en'
  7. },
  8. meta: [
  9. { charset: 'utf-8' },
  10. { name: 'viewport', content: 'width=device-width, initial-scale=1' },
  11. { hid: 'description', name: 'description', content: '' },
  12. { name: 'format-detection', content: 'telephone=no' }
  13. ],
  14. link: [
  15. { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }
  16. ]
  17. },
  18. // Global CSS: https://go.nuxtjs.dev/config-css
  19. css: [
  20. 'ant-design-vue/dist/antd.css'
  21. ],
  22. // Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins
  23. plugins: [
  24. '@/plugins/antd-ui',
  25. ],
  26. // Auto import components: https://go.nuxtjs.dev/config-components
  27. components: true,
  28. // Modules for dev and build (recommended): https://go.nuxtjs.dev/config-modules
  29. buildModules: [
  30. '@nuxt/postcss8'
  31. ],
  32. // Modules: https://go.nuxtjs.dev/config-modules
  33. modules: [
  34. ],
  35. router: {
  36. middleware:'middleware'
  37. },
  38. // Build Configuration: https://go.nuxtjs.dev/config-build
  39. build: {
  40. }
  41. }