Closed LeoKun1231 closed 7 months ago
pages前面少了个 /
UniPages({ exclude: ['/components//*.'], routeBlockLang: 'json5', // 虽然设了默认值,但是vue文件还是要加上 lang="json5", 这样才能很好地格式化 homePage: '/pages/home/home', subPackages: ['src/pages-circle', 'src/pages-home', 'src/pages-profile', 'src/pages-common'], // 是个数组,可以配置多个 }),
System: OS: Windows 10 10.0.25267 CPU: (8) x64 Intel(R) Core(TM) i5-9300H CPU @ 2.40GHz Memory: 13.26 GB / 31.92 GB Binaries: Node: 20.10.0 - C:\Program Files\nodejs\node.EXE Yarn: 1.22.17 - ~\AppData\Roaming\npm\yarn.CMD npm: 10.2.3 - C:\Program Files\nodejs\npm.CMD Browsers: Edge: Spartan (44.25267.1000.0), Chromium (123.0.2420.65) Internet Explorer: 11.0.25267.1000
pnpm
已解决 升级到0.2.15即可
描述问题
pages前面少了个 /
复现
UniPages({ exclude: ['/components//*.'], routeBlockLang: 'json5', // 虽然设了默认值,但是vue文件还是要加上 lang="json5", 这样才能很好地格式化 homePage: '/pages/home/home', subPackages: ['src/pages-circle', 'src/pages-home', 'src/pages-profile', 'src/pages-common'], // 是个数组,可以配置多个 }),
系统信息
使用的包管理器
pnpm
核对