The MiniProgram interface adapter of the glass-easel project
npm install glass-easel-miniprogram-adapterAn MiniProgram interface adapter for glass-easel, which exports a mini-program-like API, such as Component and Behavior .
Refer to the glass-easel project for further details.
nodejs toolchain should be globally installed.
Install dependencies:
``sh`
npm install
Build:
`sh`
npm run build
Build Doc:
`sh`
npm run doc
Test:
`sh`
npm test
Test coverage:
`sh`
npm run coverage
Supported component API is a subset of mini-program API. See docs and mini-program docs for details.
Style isolation support is also limited.
* The component: true in JSON files should only be used in components, not pages (this influences the default style isolation settings).styleIsolation
* The options should be specified in JSON files, not JS Component` options.
* Please work with glass-easel-miniprogram-webpack-plugin so that WXSS content can be correctly handled.