@ls-design/ui
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published


LS-Design

基于Web Components的移动端优先组件库

文档网站放本地了,自己起docker run就行

不是买不起服务器,而是md更有性价比

⚙️ 安装

# vue或vanilla
npm install @ls-design/ui --save

# react
npm install @ls-design/ui-react --save

🚀 使用示例

<!-- vue -->
<template>
  <ls-button>普通按钮</ls-button>
</template>

<script>
  import '@ls-design/ui/dist/es/button'
</script>
<!-- vanilla -->

<ls-button>普通按钮</ls-button>

<script type="module">
  import '@ls-design/ui/dist/es/button'
</script>

📖 组件列表

只提供了react文档,vuevanilla方式如上 通过<ls-组件名></ls-组件名> 使用 其他命令式的组件可参照下方react文档


🙏 ls-design参考自著名开源项目 quark-design

quark-design提供了诸多灵感和组件编写思路

Package Sidebar

Install

npm i @ls-design/ui

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

1.43 MB

Total Files

169

Last publish

Collaborators

  • luoge