Closed czb128abc closed 1 year ago
打包后文件列表如下:
docs-dist/~demos
docs-dist/curd-page
docs-dist/guide
docs-dist/299.3a02b37c.async.js
docs-dist/299.f9797d42.chunk.css
docs-dist/404.html
docs-dist/476.0da23ec7.async.js
docs-dist/607.0e7d3e02.async.js
docs-dist/629.4991cb48.async.js
docs-dist/demos.4dc37f2b.async.js
docs-dist/docs__curd-page__demo.md.16eb4f76.async.js
docs-dist/docs__curd-page__demo.md.778c6473.chunk.css
docs-dist/docs__guide.md.778c6473.chunk.css
docs-dist/docs__guide.md.ce9d060e.async.js
docs-dist/docs__index.md.778c6473.chunk.css
docs-dist/docs__index.md.6950a73c.async.js
docs-dist/dumi__pages__404.0c45fd57.async.js
docs-dist/dumi__pages__404.8b85f2d9.chunk.css
docs-dist/dumi__pages__Demo.455f9dbe.async.js
docs-dist/dumi__pages__Demo.578aa5c0.chunk.css
docs-dist/dumi__theme__ContextWrapper.d3e2dccf.async.js
docs-dist/dumi__theme__layouts__DocLayout.ec323db5.async.js
docs-dist/index.html
docs-dist/umi.7ab43a5e.css
docs-dist/umi.4025772a.js
你配的是 hash 路由,应当使用 /#/{base}
的形式访问而不是 /{base}
另外 dumi 2 对 hash 路由的支持不完整,锚点之类的会跳转异常,建议用默认的 browser 路由
Versions
Steps to reproduce
配置文件:
打包后输出html
打包文件截图
What is Expected?
What is actually happening?