Coder Social home page Coder Social logo

zahoorwang / lin-ui Goto Github PK

View Code? Open in Web Editor NEW

This project forked from talelin/lin-ui

0.0 0.0 0.0 3.63 MB

🌈 简洁、易用、灵活的微信小程序组件库

Home Page: http://doc.mini.talelin.com

License: MIT License

JavaScript 72.41% Shell 0.42% Less 27.17%

lin-ui's Introduction

Lin UI, not just an UI component library!
一套基于微信小程序原生语法实现的高质量 UI 组件库

💥💥💥林间有风团队招人啦💥💥💥

林间有风是一个致力于让 Web 开发变得简单而优雅的开源团队。 目前团队的两款产品 Lin CMS 和 Lin UI 在 Github Star 均为 2000+

我们希望你:

  1. 真正热爱开源,热爱编程,对开源有自己的理解
  2. 熟悉微信小程序官网文档和开发规范
  3. 熟悉 JavaScript、ES6、Vue 等前端相关生态
  4. 如果上述技术栈和你不符,但你仍然很热爱开源的话,我们也欢迎你的加入

你将得到的:

  1. 参与大型开源项目的开发,学习团队如何严格的遵循开发规范,并享受帮助其他开发者的乐趣。
  2. 从一名普通“码农”变成真正的开发者,从枯燥的业务开发中抽身,站在更底层的角度思考问题。
  3. 为你的简历增光添彩,一个优秀的开源项目能为你本身的能力背书,在求职时也是非常亮眼的一点

📫简历投递邮箱:[email protected],主题格式 林间有风+姓名+学生/在职


目录

简介

Lin UI 是一套基于 微信小程序原生语法 实现的高质量 UI 组件库。遵循简洁、易用、美观的设计规范。

快速上手

安装

  1. 初始化你的项目为一个 NPM 项目

    npm init -y
    

    若项目根目录已包含 package.json 文件,则可跳过该步骤

  2. 安装 Lin UI

    npm i lin-ui
    
  3. 配置微信开发者工具 要正确安装 Lin UI,需将微信开发者工具的 使用 npm 模块 选项勾选上

    设置路径:微信开发者工具右上角 -> 详情 -> 本地设置

  4. 构建 NPM 模块 微信开发者工具配置完成以后,还需进行一次 NPM 模块的构建

    按钮位置:微信开发者工具顶部 -> 工具 -> 构建 npm

若你本地没有 Node.js 环境,无法使用 NPM 安装,则可以采用源码方式安装

引入

  1. 配置微信开发者工具

    要正确使用 Lin UI,需将微信开发者工具的 Es6 转 ES5增强编译 选项勾选上

    设置路径:微信开发者工具右上角 -> 详情 -> 本地设置

  2. 在页面中引入

    {
      "usingComponents":{
        "l-button":"/miniprogram_npm/lin-ui/button/index"
      }
    }
  3. 在页面中使用

     <l-button type="default">默认按钮</l-button>

    我们建议你在引入 Lin UI 组件时,都统一命名为 l-{组件名} 格式,遵循此规范将使你的项目代码更加清晰

    至此,Lin UI 已成功引入至你的项目中了!

讨论交流

贡献代码

我们的代码基于 develop 分支开发,欢迎提交 Pull Request 进行代码贡献。

在提交 Pull Request 之前,请详细阅读我们的开发规范,否则可能因为 Commit 信息不规范等原因被关闭 Pull Request。

开源协议

MIT © 2020 林间有风

lin-ui's People

Contributors

juzi214032 avatar 7insummer avatar zhc525349965 avatar aqingyun avatar ypchenlove avatar dpp050700 avatar murongg avatar traviscibot avatar abrahamgreyson avatar bdoycn avatar imgbotapp avatar codermusou avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.