iview / iview/iview-admin

vue.config.js 中externals 的配置

Open
#939 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vue
Stars
16.4k
Forks
4.7k
PR merge metrics
No merged PRs in 30d

Description

configureWebpack: {
externals: {
BMap: 'BMap'
}
},

这样配只为什么不对呀

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in vue.config.js at the configureWebpack externals entry for BMap, then read how this project’s Vue CLI and Webpack configuration handles externals. Reproduce the reported behavior and document or test the corrected configuration once the reason this setup fails is clear.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, webpack
Domain
build-system, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.