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

321
Views
Vue js. ¿Cómo obtengo la URL actual en el archivo index.html?

Vue js. ¿Cómo obtengo la URL actual en el archivo index.html? Con js puro en index.html obtengo solo la URL de la página de inicio. Para sacar la url de las otras paginas tengo que refrescar o se queda el valor de la pagina inicial.

 <!-- index.php laravel blade --> <div id="ui"> <router-view></router-view> </div> <script> window.CanvasUI = @json($config); </script> <script type="text/javascript" src="{{ asset(mix('js/canvas-ui.js')) }}"></script>
about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

Con JS puro:

 window.location.href
about 4 years ago · Juan Pablo Isaza Report

0

Una forma fácil de obtener baseUrl en VueJs es

var baseUrl = ventana.ubicación.origen

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!