Closed zmb95 closed 1 year ago
pages.config.ts中pages中编译到pages.json中会把path路径排序
pages:[ { "path": "pages/chat/index", "type": "page" }, { "path": "pages/home/index", "type": "page" }, ]
本来是home/index在前面的 编译之后就跑到后面去了
OS: Windows 10 10.0.22621 CPU: (8) x64 Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz Memory: 3.47 GB / 15.89 GB Binaries: Node: 16.14.0 - C:\Program Files\nodejs\node.EXE npm: 8.3.1 - C:\Program Files\nodejs\npm.CMD pnpm: 8.5.1 - C:\Program Files\nodejs\pnpm.CMD Browsers: Edge: Spartan (44.22621.2134.0), Chromium (116.0.1938.62) Internet Explorer: 11.0.22621.1
pnpm
描述问题
pages.config.ts中pages中编译到pages.json中会把path路径排序
复现
pages:[ { "path": "pages/chat/index", "type": "page" }, { "path": "pages/home/index", "type": "page" }, ]
本来是home/index在前面的 编译之后就跑到后面去了
系统信息
使用的包管理器
pnpm
核对