vue.config.js 448 B

12345678910111213141516
  1. const Timestamp = new Date().getTime();
  2. module.exports = {
  3. publicPath: '/', // 默认'/',部署应用包时的基本 URL
  4. lintOnSave: false, //关闭语法检查
  5. devServer: {
  6. /* proxy: {
  7. '/api': {
  8. target: 'https://localhost:5001', //后端接口
  9. changeOrigin: true,
  10. pathRewrite: {
  11. '^/api': ''
  12. }
  13. }
  14. }, */
  15. },
  16. }