路由懒加载输出路径带有本机的地址
- Dominant language
- Vue
- Stars
- 16.3k
- Forks
- 4.7k
- PR merge metrics
- No merged PRs in 30d
Description
各位iview开发工程师们好:
我在使用iview的过程中发现一个问题, 当我使用iview客户端来自动构建项目的时候发现在生产环境或者构建环境中会有 本机的物理地址带入例如:
main.js中
"p.options.__file = "user/csir/desktop/web/src/views/main-components"
而 直接使用当前GitHub上面的webpack配置定制项目是没有(想要的情况)运行机器的物理地址的 例如:
main.js中
"p.options.__file = "src/views/main-components"
想请问下如果用iview客户端自动化构建如何避免带有机器物理路径这样的情况发生
Contributor guide
No contributing guide indexed for this repository
Research direction
Compare the generated main.js output from the iView client with the output from the repository's webpack configuration. Start by locating the iView client's generated webpack settings and the source of the p.options.__file value; done means production builds no longer include the machine's physical path while retaining the expected src/views/main-components path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, webpack
- Domain
- build-system, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100