dvo-ui-poc
v1.0.8
Published
ui
Downloads
3
Readme
Module for React component
Install
yarn add @rollup/plugin-babel @rollup/plugin-commonjs @rollup/plugin-node-resolve rollup-plugin-babel rollup-plugin-peer-deps-external @rollup/plugin-terser @babel/preset-react @rollup/plugin-replace @rollup/plugin-commonjs
yarn add react react-dom --dev
Build
yarn build
Distribute
npm pack
OR
npm publish
OR any other method
Usage in NextJS
Import using dynamic
import dynamic from 'next/dynamic';
const MyComponent = dynamic(
() => import('dvo-ui-poc'), {ssr: false}
);