微信小程序官方说明需要在微信开发者工具中开发运行,但这个工具着实不咋地。

我是使用webstrom编辑,然后在微信开发者工具中热加载查看效果,因为webstrom默认并不支持*.wxml,添加使用xml(各人随意,我使用html格式显示不好看)格式编写。

  File -> Settings -> Editor -> File Types

在Recognized File Types 中找到你想使用的格式,然后在Registered Patterns 中添加 *.xml。

webStorm支持.wxml文件高亮显示

 

相关文章:

  • 2022-01-08
  • 2021-12-07
猜你喜欢
  • 2021-07-16
  • 2021-07-12
  • 2022-12-23
  • 2021-05-16
  • 2021-04-02
相关资源
相似解决方案