pages member
During the MiniApp development process, adding or deleting MiniApp pages is done by configuring the list of references. When configuring the page routes, the file name extension MAY be omitted (e.g., /component/mypage).
I'll change this example to be aligned with the packaging spec. You are right.
The developer may want to indicate the extension of the main document that defines the page or component. So, it should be the .html extension (/pages/index.html or /pages/index).
https://w3c.github.io/miniapp-manifest/#pages-member
I have two questions about this.
/component/mypage
instead of something likepages/index
? Per https://w3c.github.io/miniapp-packaging/#sec-pages-directory the directory seems to be namedpages
.