olight
> olight 是 Light2.0 工程的前端开发框架,在 vue2.x 的基础上提供了丰富的接口。
Last updated a month ago by hslight .
ISC · Original npm · Tarball · package.json
$ cnpm install olight 
SYNC missed versions from official npm registry.

olight 是 Light2.0 工程的前端开发框架,在 vue2.x 的基础上提供了丰富的接口。

安装

olight 无需单独安装,开发者只需安装 lighting-plugin-type-vue 插件即可,type-vue 插件会自动加载 olight 框架。

使用

全局引入:

import Light from "light";

也可以在视图中直接调用:

this.$light.log("mounted");

文档

了解更多 light 框架的信息,请点击这里

更新记录

v1.4.49

  1. #142437 Light.ajax()请求的地址不是https协议时打印警告信息
  2. #143355 weex-vue-render4light中rem的计算逻辑中使用screen.width的宽度

v1.4.48

  1. #136009【框架】增加Light.navigateBack()路由回退

v1.4.47

  1. 补充readme.markdown

v1.4.46

  1. 相对路径跳转功能实现

2017.05.02

  1. #35528【lighitng】【开发框架】【路由器】增加导航前置拦截器
  2. #35530【lighting】【开发框架】增加全局数据的支持
  3. #35532【lighting】【开发框架】增加全局数据的监听能力
  4. 事件埋点的问题,按照新规则变为log类型
  5. 将Light.fetch集成到light.ajax中

v1.4.8

  1. #61586【lighting】Vue Router支持history模式
  2. 将requireModule转移到light上作为light的API
  3. 增加设置挂载el的节点的入参
  4. 增加设置viewport的能力(JSN)
  5. 将light变量注入vue中,以this.$light方式调用
  6. 在$router中新增link属性来记录视图跳转的链路
  7. navigate方法支持跳转http路径和打开js资源
  8. 转化pageappear事件为viewappear事件
  9. ajax: jsn环境下调用stream.fetch

Current Tags

  • 1.4.58                                ...           latest (a month ago)

82 Versions

  • 1.4.58                                ...           a month ago
  • 1.4.57                                ...           a month ago
  • 1.4.56                                ...           2 months ago
  • 1.4.55                                ...           2 months ago
  • 1.4.54                                ...           2 months ago
  • 1.4.53                                ...           3 months ago
  • 1.4.52                                ...           3 months ago
  • 1.4.51                                ...           4 months ago
  • 1.4.50                                ...           4 months ago
  • 1.4.49                                ...           4 months ago
  • 1.4.48                                ...           5 months ago
  • 1.4.47                                ...           5 months ago
  • 1.4.46                                ...           6 months ago
  • 1.4.45                                ...           7 months ago
  • 1.4.44                                ...           7 months ago
  • 1.4.42                                ...           9 months ago
  • 1.4.40                                ...           9 months ago
  • 1.4.39                                ...           9 months ago
  • 1.4.38                                ...           a year ago
  • 1.4.37                                ...           a year ago
  • 1.4.36                                ...           a year ago
  • 1.4.35                                ...           a year ago
  • 1.4.34                                ...           a year ago
  • 1.4.33                                ...           a year ago
  • 1.4.32                                ...           a year ago
  • 1.4.31                                ...           a year ago
  • 1.4.30                                ...           a year ago
  • 1.4.29                                ...           a year ago
  • 1.4.28                                ...           a year ago
  • 1.4.27                                ...           a year ago
  • 1.4.26                                ...           a year ago
  • 1.4.25                                ...           a year ago
  • 1.4.24                                ...           a year ago
  • 1.4.23                                ...           a year ago
  • 1.4.22                                ...           a year ago
  • 1.4.21                                ...           a year ago
  • 1.4.20                                ...           a year ago
  • 1.4.19                                ...           a year ago
  • 1.4.18                                ...           a year ago
  • 1.4.17                                ...           a year ago
  • 1.4.16                                ...           a year ago
  • 1.4.15                                ...           a year ago
  • 1.4.14                                ...           a year ago
  • 1.4.13                                ...           2 years ago
  • 1.4.12                                ...           2 years ago
  • 1.4.11                                ...           2 years ago
  • 1.4.10                                ...           2 years ago
  • 1.4.9                                ...           2 years ago
  • 1.4.8-20180205                                ...           2 years ago
  • 1.4.8-20180109                                ...           2 years ago
  • 1.4.8-20180108                                ...           2 years ago
  • 1.4.8-20121226                                ...           2 years ago
  • 1.0.29                                ...           2 years ago
  • 1.0.28                                ...           2 years ago
  • 1.0.27                                ...           2 years ago
  • 1.0.26                                ...           2 years ago
  • 1.0.25                                ...           2 years ago
  • 1.0.24                                ...           2 years ago
  • 1.0.23                                ...           2 years ago
  • 1.0.22                                ...           2 years ago
  • 1.0.21                                ...           2 years ago
  • 1.0.20                                ...           2 years ago
  • 1.0.19                                ...           2 years ago
  • 1.0.18                                ...           2 years ago
  • 1.0.17                                ...           2 years ago
  • 1.0.16                                ...           2 years ago
  • 1.0.15                                ...           2 years ago
  • 1.0.14                                ...           2 years ago
  • 1.0.13                                ...           2 years ago
  • 1.0.12                                ...           2 years ago
  • 1.0.11                                ...           2 years ago
  • 1.0.10                                ...           2 years ago
  • 1.0.9                                ...           2 years ago
  • 1.0.8                                ...           2 years ago
  • 1.0.7                                ...           2 years ago
  • 1.0.6                                ...           2 years ago
  • 1.0.5                                ...           2 years ago
  • 1.0.4                                ...           2 years ago
  • 1.0.3                                ...           2 years ago
  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 4
This Week 11
This Month 48
Last Day 7
Last Week 18
Last Month 138
Dependencies (1)
Dev Dependencies (0)
None

Copyright 2014 - 2016 © taobao.org |