New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

weax

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

weax

![npm](https://img.shields.io/npm/v/weax.svg) [![jsdelivr](https://data.jsdelivr.com/v1/package/npm/weax/badge)](https://www.jsdelivr.com/package/npm/weax) [![Netlify Storybook](https://cdn.jsdelivr.net/gh/storybookjs/brand@master/badge/badge-storybook.sv

latest
npmnpm
Version
0.2.2
Version published
Weekly downloads
4
-50%
Maintainers
1
Weekly downloads
 
Created
Source

Weax

npm jsdelivr Netlify Storybook Netlify Docz

一款基于 React v16 打造的海量业务元素库,适应更多业务门户板块场景 :)

📦 安装依赖

使用 npm 包管理:

npm install weax

或者使用 yarn 安装:

yarn add weax

🚀 开箱即用

全局导入组件库样式:

import 'weax/dist/weax.css';

也可以在页面直接引入 cdn 静态资源:

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/weax@latest/dist/weax.min.css">

在组件中直接引入:

import React from 'react';
import { Statistic } from 'weax';

class WeaHelloPage extends React.Component {
  render() {
    return (
      <>
        {/* 直接使用 */}
        <Statistic templete="temp1"/>
      </>
    )
  }
}

export default WeaHelloPage;

🐫 技术堆栈

NameVersionOrg Site
Reactv16.8.6https://reactjs.org/
Ant Designv3.19.7https://ant.design/
Doczv1.2.0https://www.docz.site/
Storybookv5.1.3https://storybook.js.org/

FAQs

Package last updated on 12 Jul 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts