jiadesen

Results 5 issues of jiadesen

**Describe the bug** A clear and concise description of what the bug is. **Code Reproduce** Link to repo where the issue can reliably be reproduced: **Expected behavior** A clear and...

#35 主要包含以下更改: 1. 通过注入后置中间件的方式重写 `configureServer` 2. 删除 `useHistoryFallbackMiddleware` 的默认规则

#35 改进后的默认 rewrite 规则最后增加了 `(?:\.html?)?(\?|#|$).*` 内容,说明如下: 1. `(?:\.html?)?`:非捕获组,它匹配 `.html` 或 `.htm`,这个组后面的 `?` 表示这个组是可选的,也就是说,它可以出现 0 次或 1 次。 2. `(\?|#|$)`:捕获组,它匹配 `?` 或 `#` 或结束符号 `$`,这个组表示 URL 中参数的开始位置。 3. `.*`:标识匹配 0 个或多个任意字符,也就是...

example 默认规则为:`/\/(apple|banana|strawberries|home)/` 这会匹配任何存在 `/home` 的地址,会造成如题所示重定向错误,正常应该重定向到 `/infos/home/index.html`

For the following dynamic import ``` import(`./components/${singlePathName}/index.vue`) ``` If `singlePathName` is `"A"` or `"B"`, in the following generated code, `case "./components/A"` and `case "./components/A/index"` are not necessary ``` switch (n)...

enhancement