Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@twreporter/react-article-components

Package Overview
Dependencies
Maintainers
0
Versions
494
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@twreporter/react-article-components

The Reporter react article components, which are used in article page

  • 2.5.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
210
increased by281.82%
Maintainers
0
Weekly downloads
 
Created
Source

twreporter-react-components

What is this

The React components of articles at The Reporter Taiwan.

Published as an npm package.

Why do we this

This is built for twreporter-react and Editorial Tool (you can build the editorial tool using Plate). These Article React Components will be used on Article Page and Editorial Tool.

How to install this

yarn add @twreporter/react-article-components

How to use this

// es6
import Article from '@twreporter/react-article-components'

const Page = ({ record }) => <Article post={record} />

How to develop this

There are two dev modes:

  1. We use webpack-dev-server to render a mock article with all elements for development.

    # Start the webpack-dev-server
    npm run dev-server
    
  2. Or use babel --watch to complie the source file if there's any change happened

    make dev
    

How to build this

# Build the distribution files
make build

FAQs

Package last updated on 05 Nov 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc