Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report/Feeback] #90

Open
akan opened this issue Jan 7, 2022 · 0 comments
Open

[Bug Report/Feeback] #90

akan opened this issue Jan 7, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@akan
Copy link

akan commented Jan 7, 2022

问题描述
简明扼要的描述你的问题
路由history模式,二级页面静态资源路径bug

环境描述/版本信息 (请完成如下信息)

  • OS: [e.g. Mac/Windows]
  • Browser [e.g. chrome, safari]
  • Node
  • fes -V
  • 项目package.json

如何复现
复现步骤

二级页面,如/abc/def里面静态图片资源
image

会被编译为:
image
这个路径不应该带.,即history模式需要考虑当前页面路由算require静态资源的path,nuxt里面这个应该是处理的比较好的。
目前fes.js没有针对history模式二三级页面的路径做处理。

预期结果
简明扼要的说明你期待的结果
期望路径是正确的绝对路径或者相对路径。
/static/images/.....

截图
如果可以的话,附上截图

其它补充内容
任何和这个问题有关的额外内容

@wanchun wanchun added the enhancement New feature or request label Jan 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants