Hi there! I would like to know if it's possible to use nuxt generate to create a static html version of my app, without any JS on the client side. Right now when I generate the app it will include JS to (I think) hydrate the client side JS over the generated html. I would like to generate just HTML and CSS. My content will be fetched from an API. So considering this nuxt example page:
<script setup>
// pages/index.vue
const posts = await $fetch("https://jsonplaceholder.typicode.com/posts");
</script>
<template>
<ul>
<li v-for="post in posts" :key="post.id">
{{ post.title }}
</li>
</ul>
</template>
I would like to generate this static HTML version:
<html>
<head>
...
<!-- 0 scripts injected here! -->
</head>
<body>
<ul>
<li>sunt aut facere repellat provident occaecati excepturi optio reprehenderit</li>
<li>qui est esse</li>
<li>ea molestias quasi exercitationem repellat qui ipsa sit aut</li>
<li>eum et est occaecati</li>
(...etc)
</ul>
<!-- 0 scripts injected here! -->
</body>
</html>
Is this possible?