nuxt.config.js 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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:'keywords',name:'keywords',content:'助贷获客,信贷拓客,金融中介CRM系统'}, // 关键字
  12. { hid: 'description', name: 'description', content: '惠融易客助贷系统是一套专门为助贷机构量身打造的金融中介精准获客服务平台。一站式帮助助贷机构,金融居间公司,银行贷款中介老板解决获客难,转化差,管理难等业务难题,提高销售人员效率,提升销售团队业绩!现在申请,可立即试用!' }, // 描述
  13. {name:'robots',content:'index' },
  14. {name:'applicable-device', content:"pc,mobile"},
  15. {name: 'format-detection', content: 'telephone=no' },
  16. // {name:"google-site-verification",content:""}, // 谷歌
  17. // {name:"baidu-site-verification",content:""}, // 百度
  18. // {name:"360-site-verification", content:""}, //360
  19. // {name:"sogou_site_verification", content:""} // 搜狗
  20. ],
  21. link: [
  22. { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }
  23. ],
  24. script:[
  25. {src:'js/isMobile.js'}
  26. ]
  27. },
  28. // Global CSS: https://go.nuxtjs.dev/config-css
  29. css: [
  30. 'ant-design-vue/dist/antd.css'
  31. ],
  32. target:'static',
  33. // Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins
  34. plugins: [
  35. '@/plugins/antd-ui',
  36. '@/plugins/vant-ui'
  37. ],
  38. // Auto import components: https://go.nuxtjs.dev/config-components
  39. components: true,
  40. // Modules for dev and build (recommended): https://go.nuxtjs.dev/config-modules
  41. buildModules: [
  42. '@nuxt/postcss8'
  43. ],
  44. // Modules: https://go.nuxtjs.dev/config-modules
  45. modules: [
  46. "@nuxtjs/proxy",
  47. "@nuxtjs/axios"
  48. ],
  49. // proxy:{
  50. // '/api':{
  51. // target:'https://official.webapi.bicredit.xin/api',
  52. // secure:false,
  53. // changeOrigin:true
  54. // }
  55. // },
  56. router: {
  57. // middleware:'auth',
  58. // base: '/', //此为根目录,如果有具体目录需求按实际情况写
  59. },
  60. // Build Configuration: https://go.nuxtjs.dev/config-build
  61. build: {
  62. }
  63. }