Mina framework of WeChat applet

February 9, 2018 16:12:33
WeChat Mini Program Mina Framework

Mina is not an APP

What development is the Mina framework using?

The Mina framework is developed using the web developer tools developed by the WeChat team;

WeChat Web Developer Tools can provide interface preview;

Other development tools can also develop WeChat Mini Programs, but there is no preview.

What language is the Mina framework developed in?

JavaScript: responsible for the logic layer;

WXML (XML): responsible for the view layer, which is a set of markup language designed by Mina;

WXSS (CSS): responsible for styling;

JSON: configuration file, responsible for the configuration of a single page or the configuration of the entire project

The file structure of the Mina framework

The applet consists of an app that describes the overall program and multiple pages that describe their respective pages.

    The theme file composition of the applet:

        app.js: responsible for the logic of the applet

        app.json: responsible for the public settings of the applet

        app.wxss: responsible for the public style of the applet (not required)

    An applet page consists of four files

        js: responsible for page logic

        wxml: responsible for page structure

        wxss: responsible for page styling (not required)

        json: responsible for page configuration (not required)

For details, see https://mp.weixin.qq.com/debug/wxadoc/dev/quickstart/basic/file.html

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325355090&siteId=291194637