Socket
Socket
Sign inDemoInstall

@resola/mp-components

Package Overview
Dependencies
301
Maintainers
2
Versions
64
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @resola/mp-components

React components library for CDP


Version published
Weekly downloads
64
increased by3100%
Maintainers
2
Install size
16.1 MB
Created
Weekly downloads
 

Readme

Source

mp-components

React components library for CDP

https://components.mpdev.io/

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.\

npm run build

Builds the app for production to the docs folder.
It creates a static version which can be viewed from GitHub Pages.

How to use

  • Install it
yarn add @resola/mp-components@latest
  • Install latest tailwindcss and postcss
yarn add tailwindcss@latest postcss@latest
  • Generate tailwind config files
npx tailwind init -p 
  • Update tailwind.config.js file to include @resola/mp-components in purge section
const path = require('path');
purge: [
    ...other_options,
    path.resolve(__dirname, 'node_modules/@resola/mp-components/**/*.(js|jsx|ts|tsx)')
]

FAQs

Last updated on 06 Jan 2022

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc