Required changes after Mobile App MVP implementation

Only two simple changes are required in every ui module:

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

    1 2 3 "devDependencies": { "openlmis-ui": "file:///dev-ui" },

    needs to be replaced by this:

    1 2 3 "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)