1.0.1 • Published 8 years ago

hen-mui v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

hen-mui v0.1.21

Mobile UI elements for vue.js

Installation

npm i hen-mui -S

Usage

import all components.

import Vue from 'vue'
import HenMui from 'hen-mui';

Vue.use(HenMui);

Or import specified component. (Use babel-plugin-component)

import { Cell, Checklist } from 'hen-mui';

Vue.component(Cell.name, Cell);
Vue.component(Checklist.name, Checklist);

Equal to

import Vue from 'vue';
import HenMui from 'hen-mui';
import 'hen-mui/lib/style.css';

Vue.use(Mint);

// import specified component

import MtRadio from 'hen-mui/lib/radio';
import 'hen-mui/lib/radio/style.css';

Vue.component(MtRadio.name, MtRadio);

babel-plugin-component

  • Auto import css file
  • Modular import component

Installation

npm i babel-plugin-component -D

Usage

.babelrc

{
  "plugins": ["other-plugin", ["component", [
    { "libraryName": "mint-ui", "style": true }
  ]]]
}

Development

npm i cooking -g
make dev

Production

make dist

Deploy Example

make deploy

Publish

npm run release

License

MIT

1.0.1

8 years ago

1.0.0

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago