1.0.11 • Published 1 year ago

himee-style v1.0.11

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

HiMee Style

install

npm install himee-style

usage

use styles

  • Required Both less and less-loader should be installed since those style files are not bundled as native JavaScript output.

  • Use mini app base style Import whole less files with default entry file.

// main.js
import "himee-style";
  • Import partial atom-like style with single file which exported under folder himee-style/styles/
// main.js

// import 'himee-style/styles/base.less'
// import 'himee-style/styles/border.less'
// import 'himee-style/styles/box.less'
// import 'himee-style/styles/flex.less'
// import 'himee-style/styles/font.less'
// import 'himee-style/styles/rounded.less'

use types (WIP)

A set of TypeScript type declaration files generated from the Swagger API have been packaged into the types/api directory, and you can use them in this way blow 👇🏻

// TODO

// 
import { IApiFn } from "himee-style/types/api/消息服务";

export const apiFn: IApiFn = (url: string) => {
  return {
    get() {
      return new Promise((resolve) => resolve(null));
    },
    post() {
      return new Promise((resolve) => resolve(null));
    },
  };
};
1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago