Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

137
Views
Sails.js How to add the src/href by the vuejs
<img src="{{ event.imageurl }}" alt="Placeholder image" />

<a class="title is-4" href="http://localhost:1337/detail/{{ event.id }}">{{ event.eventname }}</a>

event.imageurl and the <a> link is not able to show. But the other elements without link are correct to show on

Error in image and link

http://localhost:1337/detail/%7B%7B%20event.id%20%7D%7D

error of link of <a>

Even I add : before src/href, it still doesn't work

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

I know how to solve it

<img :src="event.imageurl" alt="Placeholder image" />
<a class="title is-4" :href="'http://localhost:1337/detail/'+ event.id ">{{ event.eventname }}</a >
about 4 years ago · Juan Pablo Isaza Report

0

You have to add : before src/href, and then remove {{}}

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!