Browse Source

项目初步规划阶段

master
LAPTOP-D7TKRI82\邓 5 years ago
commit
8ef96f5cf1
  1. 3
      .gitignore
  2. 0
      README.md
  3. 0
      iconfont.css
  4. 27
      index.js
  5. 0
      index.scss
  6. 31
      package.json

3
.gitignore

@ -0,0 +1,3 @@
.hbuilderx/
unpackage/
node_modules/

0
README.md

0
iconfont.css

27
index.js

@ -0,0 +1,27 @@
// 引入全局mixin
import mixin from './libs/mixin/mixin.js'
function wranning(str) {
// 开发环境进行信息输出,主要是一些报错信息
// 这个环境的来由是在程序编写时候,点击hx编辑器运行调试代码的时候,详见:
// https://uniapp.dcloud.io/frame?id=%e5%bc%80%e5%8f%91%e7%8e%af%e5%a2%83%e5%92%8c%e7%94%9f%e4%ba%a7%e7%8e%af%e5%a2%83
if (process.env.NODE_ENV === 'development') {
console.warn(str)
}
}
const $lf = {
}
// $lf挂载到uni对象上
uni.$lf = $lf
const install = Vue => {
Vue.mixin(mixin)
Vue.prototype.$lf = $lf
}
export default {
install
}

0
index.scss

31
package.json

@ -0,0 +1,31 @@
{
"name": "leadfyy-ui",
"version": "1.0.0",
"description": "领峰UI库,封装一些经常使用到的组件,自定义样式,模块化js函数,调用简单快速上手",
"main": "index.js",
"keywords": [
"leadfyy",
"leadfyy ui",
"leadfyy-ui",
"uni ui",
"uni UI",
"uniapp ui",
"ui",
"UI框架",
"uniapp ui框架",
"uniapp UI"
],
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": ""
},
"devDependencies": {
"node-sass": "^4.14.0",
"sass-loader": "^8.0.2"
},
"author": "leadfyyUI",
"license": "MIT"
}
Loading…
Cancel
Save