GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Tencent/weui.js: A lightweight javascript library for WeUI.

BranchesTags
Open more actions menu

Latest commit

 

History

269 Commits
269 Commits

Folders and files

NameName
Last commit message
Last commit date
__tests__
__tests__
 
 
build
build
 
 
docs
docs
 
 
example
example
 
 
src
src
 
 
uploader-server
uploader-server
 
 
.DS_Store
.DS_Store
 
 
.babelrc
.babelrc
 
 
.editorconfig
.editorconfig
 
 
.eslintrc
.eslintrc
 
 
.gitignore
.gitignore
 
 
.npmignore
.npmignore
 
 
.npmrc
.npmrc
 
 
CHANGELOG.md
CHANGELOG.md
 
 
LICENSE.txt
LICENSE.txt
 
 
README.md
README.md
 
 
dist.zip
dist.zip
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
test.js
test.js
 
 

Repository files navigation

weui.js

npm version

概述

WeUI 的轻量级 js 封装。

注意:由于微信小程序不支持dom操作,所以weui.js并不适用于小程序。不过WeUI也为小程序开发了另外的版本,详情请看:https://github.com/Tencent/weui-wxss/

手机预览

https://weui.io

https://weui.io/weui.js/

开发

安装

git clone https://github.com/Tencent/weui.js.git
cd weui.js
npm install
npm start

编译

npm run build

使用

global

<link rel="stylesheet" href="https://res.wx.qq.com/t/wx_fed/weui-source/res/2.5.16/weui.min.css">
<script type="text/javascript" src="https://res.wx.qq.com/t/wx_fed/weui.js/res/1.2.21/weui.min.js"></script>
<script type="text/javascript">
    weui.alert('alert');
</script>

import as module

import 'weui';
import weui from 'weui.js';

weui.alert('alert');

文档

Documents

贡献

如果你有好的意见或建议,欢迎给我们提issue或pull request。

License

The MIT License(http://opensource.org/licenses/MIT)

请自由地享受和参与开源

About

A lightweight javascript library for WeUI.

Topics

weui

Resources

Readme
License
Activity
Custom properties

Stars

3.2k stars

Watchers

107 watching

Forks

911 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.