Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

306
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda