This repository has been archived on 2023-08-30. You can view files and clone it, but cannot push or open issues/pull-requests.
bytedo
/
wcui
Archived
1
0
Fork 0
wcui/index.html

32 lines
709 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>first example</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<div :controller="test">
<template name="pages" config="pageOpts"></template>
</div>
<script src="./js/yua.js"></script>
<script>
;(function(yua){
require(['/lib/pages/main.js'],function(){
var vm = yua({
$id: "test",
pageOpts: {
total: 10,
curr: 1
}
})
yua.scan()
})
})(yua)
</script>
</body>
</html>
wcui是一套基于`Web Components`的UI组件库, 宗旨是追求简单、实用、不花哨。
JavaScript 95.2%
CSS 4.8%