npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

tmx-ui

v0.2.2

Published

<p align="center"> <a> <img width="200" src="./assets/logo.png"> </a> </p>

Downloads

23

Readme

tmx-ui

该项目为 ThingsMatrix 的前端业务组件库,旨在统一组件的 UI 样式,以及减少冗余的组件代码。该项目是基于 iView 4.0+版本进行二次开发。

Features

  • 抽离自项目中常用的业务组件
  • 独立的字体库和 iconfont 库
  • 支持全局引入和按需加载
  • 较完善的组件说明文档
  • 暂不支持 Vue 3
  • 持续维护和更新

Install

Using npm:

npm install tmx-ui --save

or yarn:

yarn add tmx-ui -D

Usage

Global use:

import Vue from 'vue'
import TmxUI from 'tmx-ui'
Vue.use(TmxUI)

or lazy-load:

import { TmxCard } from 'tmx-ui'
export default {
  components: {
    TmxCard,
  },
}

Expamle

<template>
  <TmxCard />
</template>

Develop & Build

docs

该项目配置相关的组件说明文档,你可以在这里(/docs)编写你的文档,同时还可以作为开发环境,实时查看你的组件。文档相关部署如下:

# 文档本地启动
yarn docs:dev

# 文档打包
yarn docs:build

# 文档部署
yarn deploy:build

如果你不喜欢这种实时文档的开发模式,该项目还支持传统的开发模式,你可以在这里(/example)引用你的组件进行调试。

yarn dev

build

你可以通过以下命令对组件库进行打包:

yarn build:prod

或样式构建:

yarn build:style

同时,你也可以单独打包样式和组件:

yarn build:component

如果你觉得以上命令太麻烦、太复杂,你也可以选择一键部署:

yarn build

License

MIT