1 Star 0 Fork 0

林振辉 / digi

Create your Gitee Account
Explore and code with more than 8 million developers,Free private repositories !:)
Sign up
Clone or Download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

Build Status codecov npm license language platform platform

一个简单的 js 框架

插件


安装

yarn add -D digi

实例

简单例子

import digi, { createData } from 'digi'

// 创建监听数据
const data = createData()

// 添加元素
digi({ text: data.$tp('a') })

console.log(document.body.lastElementChild.outerHTML)
// => <div></div>

data.a = 321
console.log(document.body.lastElementChild.outerHTML)
// => <div>321</div>

Repository Comments ( 0 )

Sign in to post a comment

About

一个简单的 js 框架, 前端框架 expand collapse
JavaScript
MIT
Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
JavaScript
1
https://gitee.com/lin09/digi.git
git@gitee.com:lin09/digi.git
lin09
digi
digi
master

Search