0.0.82 • Published 6 years ago

lemon-lib v0.0.82

Weekly downloads
2
License
ISC
Repository
github
Last release
6 years ago

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
  }
}
0.0.82

6 years ago

0.0.81

6 years ago

0.0.80

6 years ago

0.0.79

6 years ago

0.0.78

6 years ago

0.0.77

6 years ago

0.0.76

6 years ago

0.0.75

6 years ago

0.0.74

6 years ago

0.0.73

6 years ago

0.0.72

6 years ago

0.0.71

6 years ago

0.0.70

6 years ago

0.0.69

6 years ago

0.0.68

6 years ago

0.0.66

6 years ago

0.0.65

6 years ago

0.0.64

6 years ago

0.0.63

6 years ago

0.0.62

6 years ago

0.0.61

6 years ago

0.0.60

6 years ago

0.0.59

6 years ago

0.0.58

6 years ago

0.0.57

6 years ago

0.0.56

6 years ago

0.0.55

6 years ago

0.0.54

6 years ago

0.0.53

6 years ago

0.0.52

6 years ago

0.0.51

6 years ago

0.0.50

6 years ago

0.0.49

6 years ago

0.0.48

6 years ago

0.0.47

6 years ago

0.0.46

6 years ago

0.0.45

6 years ago

0.0.44

6 years ago

0.0.43

6 years ago

0.0.42

6 years ago

0.0.41

6 years ago

0.0.40

6 years ago

0.0.38

6 years ago

0.0.37

6 years ago

0.0.36

6 years ago

0.0.35

6 years ago

0.0.34

6 years ago

0.0.33

6 years ago

0.0.32

6 years ago

0.0.31

6 years ago

0.0.30

6 years ago

0.0.29

6 years ago

0.0.28

6 years ago

0.0.27

6 years ago

0.0.26

6 years ago

0.0.25

6 years ago

0.0.24

6 years ago

0.0.23

6 years ago

0.0.22

6 years ago

0.0.21

6 years ago

0.0.20

6 years ago

0.0.19

6 years ago

0.0.18

6 years ago

0.0.16

6 years ago

0.0.15

6 years ago

0.0.14

6 years ago

0.0.13

6 years ago

0.0.12

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago