meteor app: images not loading

You should create a folder named public in your application root folder.

From the Meteor documentation:

/public

Files in /public are served to the client as-is. Use this to store assets such as images. For example, if you have an image located at /public/background.png, you can include it in your HTML with or in your CSS with background-image: url(/background.png). Note that /public is not part of the image URL.


To elaborate on this, I would add images asset directory in the public folder like this and serve it via like this

images/transparent.jpg

enter image description here


Create a /public folder. put your images there.

Tags:

Html

Image

Meteor