Look at the template style set below the website
pages
|--template
|--template.js
|- -template.json
|--template.wxml
|--template.wxss
This format is similar to the WeChat applet
//app.json "pages":[ "pages/template/template", ],
First define the pages in app.jsonThen four files must exist in the pages/template/template directory
|--template.json
This format is similar to the WeChat applet
First define the pages in app.json
Then four files must exist in the pages/template/template directory
|--template.js
|--template.json
|--template.wxml
|--template.wxss