Taro 从入门到实战

配置文件

更改端口号和域名:

config/index.js

1
2
h5: {
devServer:{ host: 'localhost', port: 8888},

更改 appid:
project.config.json(小程序独有的配置文件)

1
"appid": "touristappid",
阅读更多
You need to set client_id and slot_id to show this AD unit. Please set it in _config.yml.