html - How do I access assets/public folder from routed page in Meteor? -


i building multipage app meteor , trying access public assets routed page.

for example, when navigate route http://localhost:3000/editor, want able use image source: public/img/thing.png so:

<img src='img/thing.png'>  

but doesn't work since @ different url.

is there handlebar helper need insert in there root url?

no handlebars, regular html:

<img src='/img/thing.png'> 

Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -