Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

This Document describes making any customization in the CSS folder,

While Customizing, if any changes are made In the CSS folder it has to be compiled and published to npm.

...

then following changes has to be made in the code to reflect in the digit-ui build.
In this file location

frontend/micro-ui/web/public/index.html

...

<link rel="stylesheet" href="https://unpkg.com/@xyz/digit-ui-css@1.0.0/dist/index.css"/>

Use Either of the Following commands to publish the CSS

  • In the frontend/micro-ui/web/micro-ui-internals folder run
    yarn run publish:css
    or

  • In the frontend/micro-ui/web/micro-ui-internals/packages/css folder run
    yarn run publish --access public

Reference Doc for Publishing any package to npm

https://docs.npmjs.com/creating-and-publishing-scoped-public-packages