iview / iview/iview-admin

webpack配置里publicPath改成相对路径./dist后woff eot字体文件就找不到了

Open
#630 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

webpack配置里publicPath里面只能配绝对路径吗 想改成相对路径的怎么改配置呢...试了半天了 就是打包后的问题

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the webpack configuration and reproduce a production build with publicPath set to ./dist. Inspect the generated paths for the woff and eot assets and compare them with the served files. Done means the built application loads both font formats when using the relative publicPath.

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.