Because the project is opened in hbuilderx, the file structure is inconsistent with that opened in the developer tool (for example, there is only one. and component page configuration)
Configuration component related
In hbuilderx, if you want to change the style or add some custom configurations, you need to find the corresponding component address in the outermost page.json of the project and perform related configurations, for example: add a custom title to the component, add a custom configuration item
Configure global related
It is more convenient to configure the global configuration. Find the pages.json file and directly declare and add it at the same level as the tabar and pages objects. For example, the plugins in the figure below
grammar problem
例如hbuilderx中不支持微信小程序text="{
{name}}"语法,解决办法 :text="name"这样运行到开发者工具之后代码就正确的转换了
Security Protocol
In the developer tool settings security settings, open the service port
…