1.7.3 • Published 7 years ago

vimon v1.7.3

Weekly downloads
19
License
MIT
Repository
github
Last release
7 years ago

DEMO

USED FOR

使用一套H5代码在各类HyBrid平台中运行, 并根据平台完成对应的初始化工作, 且能根据平台自动切换主题样式.

本组件库很大一部分代码参照或移植了 Vimo 的代码,再次感谢Vimo作的分享。

可以使用的平台: 微信、支付宝、钉钉、普通浏览器、原生App内部增强版WebView中.

HOW TO START

安装

npm install vimon

导入所有组件

import Vimon from 'vimon'
Vue.use(Vimon, {
  appConf: APP_CONFIGS,
  pltConf: PLATFORM_CONFIGS,
  router: router
})

或 按需导入组件

// 平台基础安装
import { Core, App, Content, Footer, Header, Page, Navigation } from 'vimon'

Vue.use(Core, {
  appConf: APP_CONFIGS,
  pltConf: PLATFORM_CONFIGS,
  router: router
})

// 全局注册的组件(核心组件)
Vue.component(App.name, App)
Vue.component(Page.name, Page)
Vue.component(Header.name, Header)
Vue.component(Content.name, Content)
Vue.component(Footer.name, Footer)

// Directive
Vue.directive(Navigation.name, Navigation)

DEPENDENT

  • vue 2.x
  • vue-router 2.x
  • webpack 2.x
  • fastclick 1.x
  • vue-i18n
  • standardJS
  • swiper

内部目录

- ./components  源码组件
- ./lib js部分babel处理
- ./dist 组件全部打包

LICENSE

MIT

1.7.3

7 years ago

1.7.2

7 years ago

1.7.1

7 years ago

1.7.0

7 years ago

1.6.2

7 years ago

1.6.1

7 years ago

1.6.0

7 years ago

1.5.1

7 years ago

1.5.0

7 years ago

1.4.0

7 years ago

1.3.4

7 years ago

1.3.3

7 years ago

1.3.2

7 years ago

1.2.3

7 years ago

1.2.1

8 years ago

1.1.1

8 years ago