1.0.16 • Published 3 years ago

@phoenix_fan/web-components-ui v1.0.16

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

web-components-ui

跨技术栈UI组件库,支持UMD,浏览器原生支持

快速开始

安装

  npm i @phoenix_fan/web-components-ui

快速上手

import { Button } from '@phoenix_fan/web-components-ui'
Button.regist()

// template
<web-button type="primary" size="middle">这是按钮</web-button>

浏览器中使用

<!DOCTYPE html>
<html lang="en">
	<head>
  		<meta charset="UTF-8">
  		<meta http-equiv="X-UA-Compatible" content="IE=edge">
  		<meta name="viewport" content="width=device-width, initial-scale=1.0">
  		<title>Web Component</title>
		<script src="node_modules/@phoenix_fan/web-components-ui/lib/index.umd.js"></script>
	</head>
	<body>
		<div id="root">
			<web-button type="primary" size="middle">这是按钮</web-button>
		</div>
		<script>
			const { Button } = WebComponent
			Button.regist()
		</script>
	</body>
</html>
1.0.16

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.15

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago