-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
55 lines (53 loc) · 4.54 KB
/
index.html
File metadata and controls
55 lines (53 loc) · 4.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="apple-touch-icon" sizes="180x180" href="https://bulma.io/favicons/apple-touch-icon.png?v=201701041855">
<link rel="icon" type="image/png" href="https://bulma.io/favicons/favicon-32x32.png?v=201701041855" sizes="32x32">
<link rel="icon" type="image/png" href="https://bulma.io/favicons/favicon-16x16.png?v=201701041855" sizes="16x16">
<link rel="manifest" href="https://bulma.io/favicons/manifest.json?v=201701041855">
<link rel="mask-icon" href="https://bulma.io/favicons/safari-pinned-tab.svg?v=201701041855" color="#00d1b2">
<link rel="shortcut icon" href="https://bulma.io/favicons/favicon.ico?v=201701041855">
<title>Bulma Preact</title>
<link href="https://cdn.bootcss.com/bulma/0.6.2/css/bulma.min.css" rel="stylesheet">
<link href="https://cdn.bootcss.com/highlight.js/9.12.0/styles/github.min.css" rel="stylesheet">
<link href="https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<style>
body > .columns {margin: 0;}
.content-holder {height: calc(100vh - .75rem); overflow-y: auto;}
.content-holder pre { width: 99%; overflow-x: auto; }
</style>
<script src="/bulma-preact.standalone.js?1576661060237"></script>
</head>
<body>
<div class="columns">
<div class="column is-2 is-primary"><aside class="menu "><p class="menu-label">Index</p><ul class="menu-list"><li><a href="/" class=" is-active">Index</a></li></ul><p class="menu-label">Components</p><ul class="menu-list"><li><a href="/Columns/" class>Columns</a></li><li><a class>Components</a><ul><li><a href="/Components/Breadcrumb/" class>Breadcrumb</a></li><li><a href="/Components/Dropdown/" class>Dropdown</a></li><li><a href="/Components/InputQL/" class>InputQL</a></li><li><a href="/Components/Menu/" class>Menu</a></li><li><a href="/Components/Messages/" class>Messages</a></li><li><a href="/Components/Modal/" class>Modal</a></li><li><a href="/Components/Navbar/" class>Navbar</a></li><li><a href="/Components/Pagination/" class>Pagination</a></li><li><a href="/Components/Popover/" class>Popover</a></li><li><a href="/Components/Tabs/" class>Tabs</a></li></ul></li><li><a class>Elements</a><ul><li><a href="/Elements/Button/" class>Button</a></li><li><a href="/Elements/Card/" class>Card</a></li><li><a href="/Elements/Content/" class>Content</a></li><li><a href="/Elements/Notification/" class>Notification</a></li><li><a href="/Elements/Progress/" class>Progress</a></li></ul></li><li><a href="/Form/" class>Form</a><ul><li><a href="/Form/Form/" class>Form</a></li><li><a href="/Form/Radio/" class>Radio</a></li><li><a href="/Form/Select/" class>Select</a></li><li><a href="/Form/Switch/" class>Switch</a></li></ul></li></ul></aside></div>
<div class="column content-holder"><div class="content"><h1 id="bulmapreact">BulmaPreact</h1>
<p>使用Preact构建bulma组件</p>
<h2 id="bulma">Bulma</h2>
<p>Bulma <a href="https://bulma.io/">https://bulma.io/</a></p>
<h2 id="preact">Preact</h2>
<p>Preact <a href="https://preactjs.com/">https://preactjs.com/</a></p>
<h2 id="typescript">Typescript</h2>
<p>Typescript <a href="https://www.tslang.cn/">https://www.tslang.cn/</a></p>
<h2 id="dev">Dev</h2>
<pre><code class="lang-shell">git <span class="hljs-keyword">clone</span> <span class="hljs-title">https</span>://github.com/bulma-preact/bulma-preact
cd bulma-preact
npm i
npm <span class="hljs-literal">start</span>
</code></pre>
<h2 id="attentions">Attentions</h2>
<ol>
<li>参考 <a href="https://bulma.io/">https://bulma.io/</a> 组件命名和开发 </li>
<li>所有组件在 <code>src</code> 一级目录下创建首字母大写的文件目录 </li>
<li>实例Demo,在<code>README.md</code> 文档中, 代码块格式为 <code>tsx</code> 内书写,请参考已有例子</li>
<li>请为所有组件添加入参的 Typescript 类型约束</li>
</ol>
<h2 id="components">Components</h2>
</div><script></script></div>
</div>
<a href="https://github.com/bulma-preact/bulma-preact" target="_"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/e7bbb0521b397edbd5fe43e7f760759336b5e05f/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677265656e5f3030373230302e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_green_007200.png"></a>
</body>
</html>