@resola/mp-components
TypeScript icon, indicating that this package has built-in type declarations

0.2.50 • Public • Published

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)')
]

Readme

Keywords

none

Package Sidebar

Install

npm i @resola/mp-components

Weekly Downloads

1

Version

0.2.50

License

MIT

Unpacked Size

913 kB

Total Files

51

Last publish

Collaborators

  • evert0n
  • v.duc