完成签约之后直接添加人员,录入下发凭证
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.

71 lines
2.0 KiB

  1. 'use strict'
  2. // Template version: 1.3.1
  3. // see http://vuejs-templates.github.io/webpack for documentation.
  4. const path = require('path')
  5. module.exports = {
  6. dev: {
  7. // Paths
  8. assetsSubDirectory: 'static',
  9. assetsPublicPath: '/',
  10. proxyTable: {
  11. '/api': {
  12. target: 'https://apartmentcloud.xiaozhisz.cn/',
  13. // target: 'http://test.zhiweisz.cn/',
  14. // target: 'http://192.168.1.26:8600/',
  15. changeOrigin: true, //是否跨域
  16. secure: false,
  17. pathRewrite: {
  18. //重写路径
  19. '^/api': '' //代理路径
  20. }
  21. },
  22. '/face-api1':{
  23. target: 'https://139.196.122.181:443/',
  24. changeOrigin: true, //是否跨域
  25. secure: false,
  26. pathRewrite: {
  27. //重写路径
  28. '^/face-api1': '' //代理路径
  29. }
  30. }
  31. },
  32. configureWebpack: {
  33. resolve: {
  34. extensions: ['.js', '.vue', '.json'],
  35. alias: {
  36. vue$: 'vue/dist/vue.esm.js',
  37. '@': path.join(__dirname, '/', 'src')
  38. }
  39. }
  40. },
  41. host: '192.168.1.2',
  42. // host: 'localhost',
  43. port: 8081,
  44. autoOpenBrowser: false,
  45. errorOverlay: true,
  46. notifyOnErrors: true,
  47. poll: false,
  48. devtool: 'cheap-module-eval-source-map',
  49. cacheBusting: true,
  50. cssSourceMap: true
  51. },
  52. build: {
  53. // Template for index.html
  54. index: path.resolve(__dirname, '../dist/index.html'),
  55. assetsRoot: path.resolve(__dirname, '../dist'),
  56. assetsSubDirectory: 'static',
  57. assetsPublicPath: '/',
  58. /**
  59. * Source Maps
  60. */
  61. productionSourceMap: false,
  62. devtool: '#source-map',
  63. productionGzip: false,
  64. productionGzipExtensions: ['js', 'css'],
  65. bundleAnalyzerReport: process.env.npm_config_report
  66. }
  67. }