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

177
Views
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
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!