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

304
Views
How to create slug url in nuxtjs without folder?

What i need is this:

  1. www.mysite.com/first-post
  2. www.mysite.com/second-post
  3. www.mysite.com/third-post

dynamic urls and without "blog" before the urls.

Instead of this:

  1. www.mysite.com/blog/first-post
  2. www.mysite.com/blog/second-post
  3. www.mysite.com/blog/third-post

What structure folder or configuration i need to make this possible?

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

0

If you dont wanna setup anything, you can just create this: pages/first-post.js insted of pages/blog/first-post.js

So the structure will be:

pages/
  first-post.js 
  second-post.js
  third-post.js

Edit: you can just put "_" in filename like: pages/_post.vue

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!