HarmonOS JS学习笔记-路由/页面

258 阅读1分钟

developer.harmonyos.com/cn/docs/doc…

pages里建页面文件夹,里面index.hml、index.css、index.js,和微信小程序相比少了index.json文件。

新建的页面必须要config.json里配置页面路径才可以用。