mephisto.cc
open-menu closeme
Home
Travel
Archives
Links
About
🌐
中文(简体) 中文(繁体) English 日本語 Español
github instagram youtube rss
  • Vue3, Vite, and TypeScript Cross-Domain Settings

    calendar 2023-03-07 · 2 min read · vue vite  ·
    Share on: weibo twitter facebook linkedin copy
    Vue3, Vite, and TypeScript Cross-Domain Settings

    I've recently been working on a development project involving Vue3, Vite, and TypeScript. The front-end and back-end are separate, and when the front-end requests the back-end, the browser debug information reports a cross-domain error. It's generally believed that cross-domain is a back-end setting, but the back-end code has never been adjusted. After some searching, I found that setting a proxy in vite.config.ts is the simplest solution.

Featured Posts

  • Solve the problem that VSCode cannot input Chinese under Arch
  • Solution to the problem of screen recording failure under independent window manager
  • Shanghai Second-Hand Housing Transaction Data Monitoring
  • OpenLDAP Monitoring
  • How to Smoothly Connect to Bluetooth Devices in Arch Linux
  • Manage Configuration Files with Git and Ansible
  • Arch Linux SSL VPN Client Configuration
  • Easy to get real-time results of celery tasks
  • How to install and use the iNode client under Arch linux
  • Brokerage Fee Adjustment

Recent Posts

  • WeChat Mini Program Development Notes
  • Rofi Trial
  • How to install and use the iNode client under Arch linux
  • Brokerage Fee Adjustment
mephisto.cc

Copyright  2021 -   heart logo MEPHISTO.CC All Rights Reserved.   Privacy Policy

to-top