Convert Adonis Application to Static Html Files

Does anyone here know how to convert adonis application to static html files? I worked on adonis and need to use the static html version of that application to create frontend template. Thank you!

You may consider using Plasma-Nuxt to generate static HTML files.

Hmm, if all your routes are super easy without any IDs or any backend logic, then could just go over them manually and save them off as an HTML

Or write some tool that reads URLs from routes.js file, does GET request at them and then saves response off as a HTML

It’s quite dumb solution and won’t work as soon as there is some backend logic regarding to query params and stuff tho

1 Like