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

143
Views
Vue get params from url & path to app in subfolder of laravel

i used Vue 2.6 for little App with flipbook-vue, and i mounted it in subfolder of my Laravel APP in public/dist/.

I need to get params from url, and i do it like that:

Router index.js:

export default new Router({
  mode: 'history',
  routes: [{ path: "/:numer", component: Newspaper }]
})

vue.config.js:

module.exports = {
  publicPath: '/gazetka/',
}

And in Vue component i use $route.params to get this params. The problem is that Vue reads the subfodler name dist to me as a parameter. How do I get around it? I tried .htaccess but it doesn't work locally.

about 4 years ago · Juan Pablo Isaza
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!