glass-easel-miniprogram-adapter
TypeScript icon, indicating that this package has built-in type declarations

0.5.3 • Public • Published

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 install

Build:

npm run build

Build Doc:

npm run doc

Test:

npm test

Test coverage:

npm run coverage

Limitations

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).
  • The styleIsolation 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.

Readme

Keywords

Package Sidebar

Install

npm i glass-easel-miniprogram-adapter

Weekly Downloads

145

Version

0.5.3

License

MIT

Unpacked Size

416 kB

Total Files

34

Last publish

Collaborators

  • lastleaf
  • wechat-miniprogram