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

维护一个老的roadhog 1.x项目, 发现配置publicPath不生效. #889

Open
Renderz opened this issue Jun 17, 2021 · 1 comment
Open

Comments

@Renderz
Copy link

Renderz commented Jun 17, 2021

Environment(required) | 环境(必填)

  • roadhog version: 0.5x 1.x
  • Nodejs and Npm version: node 16.x npm 6.x
  • Operating environment (e.g. OS name) and its version(操作系统版本): MacOS Linux

What did you do? Please provide steps to re-produce your problem.(请提供复现步骤)

.roadhogrc 增加publicPath配置项

publicPath: '/test/'

What do you expected?(预期的正常效果)

roadhog build生成的index.html中, js和css文件引入地址前会携带publicPath

What happen?(发生了何种非正常现象)

roadhog build生成的index.html中, js和css文件并未引入地址前会携带publicPath

Re-producible online demo (可复现的在线demo)

https://github.com/HeskeyBaozi/dva-blog-crud-demo

该项目地址可复现

@tAQiAN
Copy link

tAQiAN commented Jan 5, 2022

请问您现在解决了吗?我感觉我现在项目的配置也没有生效。。。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants