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

183
Vistas
How to generate js and html into the same folder using nuxtjs

Commonly, the generated result would looks like this:


/dist
-- /_nuxt
---- /static
------ ...(JS files)

-- /page1
---- index.html
-- /page2
---- index.html

Depending on my task, I want to design a config.js for people who doesn't familiar with coding, so I want to use nuxtjs generate ssg build files like this dir structure:

/dist
-- /page1
---- index.html
---- config.js

-- /page2
---- index.html
---- config.js

or likes this:

/dist
-- /page1
---- index.html (js in the html)

-- /page2
---- index.html (js in the html)

Is this possible to do this?

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