lemon-lib-fix
common lib for lemon
Last updated 9 months ago by slh .
ISC · Repository · Original npm · Tarball · package.json
$ cnpm install lemon-lib-fix 
SYNC missed versions from official npm registry.

lemon-lib

common lib for lemon

基础库

替换下面的 {version} 为你需要的版本即可

<!-- 开发阶段引入 无压缩 -->
<script src="//shadow.elemecdn.com/npm/lemon-lib@{version}/dist/lemonLib.js"></script>

<!-- 产品阶段引入 已压缩 -->
<script src="//shadow.elemecdn.com/npm/lemon-lib@{version}/dist/lemonLib.min.js"></script>

带 UI 组件的基础库

<!-- 开发阶段引入 无压缩 -->
<script src="//shadow.elemecdn.com/npm/lemon-lib@{version}/dist/lemonLibQuasar.js"></script>

<!-- 产品阶段引入 已压缩 -->
<script src="//shadow.elemecdn.com/npm/lemon-lib@{version}/dist/lemonLibQuasar.min.js"></script>

CSS 相关库

lemonBase.min.css文件包含以下库:

JS 相关库

打包后产生 2 个包文件 lemonLibQuasar 比 lemonLib 多一个 quasar UI 库。

编辑器中请使用 lemonLibQuasar

生成的页面请使用 lemonLib

webpack 配置

externals: {
  vue: 'Vue',
  vuex: 'Vuex',
  'vue-router': 'VueRouter',
  'lemon': 'Lemon',
  axios: 'axios',
  'vue-img': 'VueImg',
  'h5-utils': 'Utils',
  'eleme-ubt': 'UBT',
  'uparams': 'UParams',
  'sns-sdk': 'sns',
  'geohash.js': 'Geohash',
  'vue-sticky': 'VueSticky',
  qrcode: 'QRCode',
  quasar: 'Quasar'
},

eslint 全局变量配置

{
  globals: {
    Vue: true,
    Vuex: true,
    VueRouter: true,
    Lemon: true,
    axios: true,
    VueImg: true,
    Utils: true,
    UBT: true,
    UParams: true,
    sns: true,
    Geohash: true,
    VueSticky: true,
    QRCode: true,
    Quasar: true
  }
}

Current Tags

  • 0.0.89                                ...           latest (9 months ago)

6 Versions

  • 0.0.89                                ...           9 months ago
  • 0.0.88                                ...           9 months ago
  • 0.0.87                                ...           9 months ago
  • 0.0.86                                ...           10 months ago
  • 0.0.85                                ...           10 months ago
  • 0.0.84                                ...           10 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 6
Dependencies (21)
Dev Dependencies (4)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |