iview / iview/iview-admin

关于异步加载组件里面的chunkname为什么没有用

Open
#478 0 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

路由中是这样加载的
![image](https://user-images.githubusercontent.com/21050914/35606804-e8aeffa6-068b-11e8-8303-ce1c5513c79b.png)
但是页面加载的时候并没有把chunkname改掉.
![image](https://user-images.githubusercontent.com/21050914/35606920-9b7afa9a-068c-11e8-801b-e08601d8f64d.png)
webpack配置
![image](https://user-images.githubusercontent.com/21050914/35606968-efa2bd4c-068c-11e8-82a2-62849bd847c4.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting the route's asynchronous component declaration and the webpack configuration shown in the issue. Compare the configured chunk name with the name emitted during page loading; done when the discrepancy and expected naming behavior are explained.

Written by the indexing model from the issue text.

Assessment

Tech stack
webpack
Domain
build-system, frontend
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.