how to add local images and access them into the project #105
-
here i can see the url - https://cdn.jsdelivr.net/npm/@egovernments/digit-ui-css@1.0.7/img/m_seva_white_logo.png |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
An S3 Bucket with Public visibility has to be created to store all the assets Steps to upload the image into any s3 bucket So Once it is uploaded the same can be used locally and in deployments. Note if you don't have s3 bucket then, it can be stored inside the CSS module, and refer following doc for updating CSS |
Beta Was this translation helpful? Give feedback.
An S3 Bucket with Public visibility has to be created to store all the assets
Steps to creating an S3 bucket is mentioned here
https://core.digit.org/guides/developer-guide/ui-developer-guide/ui-configuration-devops#configure-aws-s3-bucket
Steps to upload the image into any s3 bucket
https://docs.aws.amazon.com/redshift/latest/dg/tutorial-loading-data-upload-files.html
So Once it is uploaded the same can be used locally and in deployments.
Note if you don't have s3 bucket then, it can be stored inside the CSS module, and refer following doc for updating CSS
https://core.digit.org/guides/developer-guide/ui-developer-guide/customisation/css-customisation