The Less Data-uri function is uniform resource identifier (URI) schema which is used to inline a resource in web pages. The Node uses mime package to determine the correct mine type, if the mime type is not given.
? url: Inline the url of the file.
? mimetype: MIME type string. (optional)
Let's take an example to demonstrate the usage of Data-uri function in the Less file.
Create a HTML file named "simple.html", having the following data.
HTML file: simple.html