@nilsmich/ui-component-lib

1.0.18 • Public • Published

What it does

This is a UI component Lib that I use for private projects. It's based on Material UI and only works with next.js

How to use

See example code in private Git. Basically add file: next.config.js with the content

// https://www.npmjs.com/package/next-transpile-modules
const withTM = require('next-transpile-modules')([
  '@nilsmich/ui-component-lib'
])

const withBundleAnalyzer = require('@next/bundle-analyzer')({
  enabled: process.env.ANALYZE === 'true'
})

module.exports = withTM(
  withBundleAnalyzer({
    future: {
      webpack5: true,
    },
    webpack: function (config, options) {
      config.experiments = {};
      return config;
    }
  })
)

And install next-transpile-modules in the project that consumes the lib.

Publishing

npm publish --access public for initial publishing.

unpublish

npm unpublish -f

Interesting resources

quite nice articles

some more intersting reading

Readme

Keywords

none

Package Sidebar

Install

npm i @nilsmich/ui-component-lib

Weekly Downloads

17

Version

1.0.18

License

UNLICENSED

Unpacked Size

24.1 kB

Total Files

28

Last publish

Collaborators

  • nilsmich