Versions Compared

Key

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

...

  • in package.json file one line of code needs to be changed in devDependencies, this:

    Code Block
      "devDependencies": {
        "openlmis-ui": "file:///dev-ui"
      },

    needs to be replaced by this:

    Code Block
      "devDependencies": {
        "dev-ui": "file:///dev-ui"
      },
  • all .scss files need to be renamed by adding this prefix the file name: _
    e.g. file named “headers.scss“ needs to be renamed to “_headers.scss

...

Additional notes:

  • In Dockerfile change && curl -sL https://deb.nodesource.com/setup_6.x | bash - \ to && curl -sL https://deb.nodesource.com/setup_12.x | bash - \

  • In *.scss files if you use url() method for image upload, make change in argument from url('branding-malawi/logo-header.png') to url('../assets/branding-malawi/logo-header.png') (add ../assets/ to path)