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

230
Views
In Vue 3, how to render a URL as a component?

Suppose I have an article. It has some sentences and charts. Charts are defined as a link. I want the link to render as component when the page is loaded (Somewhat like the iframe thing).

The closest thing I can think of right now is nested route. But I have uncertain amount of charts, yet I need to define every route with a name, because I'll need uncertain amount of <router-view name=""> .

Is there any better solution for this? Thanks a lot.

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

0

I already find a solution. This can be done by dynamic components.

I use a list of components, and render them one by one with v-for. Here's the docs: https://v3.vuejs.org/guide/component-dynamic-async.html#dynamic-async-components

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!