iview / iview/iview-cli

关于跨域配置

Open
#46 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
721
Forks
139
PR merge metrics
No merged PRs in 30d

Description

我在webpack.dev.config.js中配置了devServer的 proxy 但是,用 axiso时,无法实现跨域。请问 关于开发环境跨域的配置该在哪里配置?如何配置?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with webpack.dev.config.js and inspect the devServer proxy configuration in the development setup. Reproduce the axios request and trace how it is sent; done means the development request follows the configured proxy without a cross-origin failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, webpack
Domain
cli, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.