On the basic problems of the wepy of Mini Program Framework

Please explain in detail if you have the picture,


1, lang='less' means that the code wrapped in style is written in less syntax, telling webpack to compile with less, by the same token, it can be written as lang='css' (default, can be omitted), or lang='sass';
2, class that is the ES6 syntax, indicating that the definition of choose inherits from wepy.page method, you can refer to the react documentation, which is written in more.

Menu