pengzhanlee / xeact-components

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

xeact-components

xeact 示例组件库

如何开始

  1. 构建
yarn build
  1. 在 HTML 中引用
<link href="../xeact-components/dist/index.css" rel="stylesheet"/>
<script src="../xeact-components/dist/index.js"></script>
  1. 使用
<x-root class="content">
  <x-sample id="sample" say="hi">
    I am inside &lt;x-sample&gt;
  </x-sample>
  <button class="btn btn-sm btn-secondary" id="change">Say Something</button>
</x-root>

About

License:Apache License 2.0


Languages

Language:JavaScript 100.0%