glass-easel-miniprogram-adapter
v0.17.2
Published
The MiniProgram interface adapter of the glass-easel project
Keywords
Readme
glass-easel-miniprogram-adapter
An 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.
Build
nodejs toolchain should be globally installed.
Install dependencies:
npm installBuild:
npm run buildBuild Doc:
npm run docTest:
npm testTest coverage:
npm run coverageLimitations
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: truein JSON files should only be used in components, not pages (this influences the default style isolation settings). - The
styleIsolationoptions should be specified in JSON files, not JSComponentoptions. - Please work with glass-easel-miniprogram-webpack-plugin so that WXSS content can be correctly handled.
