Skip to content

Commit

Permalink
fix: prerender all pages
Browse files Browse the repository at this point in the history
  • Loading branch information
BernardoSM committed Dec 9, 2023
1 parent 0604efc commit b31dc95
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
9 changes: 9 additions & 0 deletions apps/www/components/creators/Hero.vue
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,15 @@
size="lg"
/>
</nuxt-link>
<nuxt-link to="/creators/estruturando-um-curso" class="w-full md:w-fit">
<MButton
text="Veja a documentação"
icon-left="book"
class="w-full md:w-fit"
variant="outline"
size="lg"
/>
</nuxt-link>
</div>
</div>
</section>
Expand Down
3 changes: 3 additions & 0 deletions apps/www/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ export default defineNuxtConfig({
},
nitro: {
preset: "cloudflare_pages_static",
prerender: {
crawlLinks: true,
},
},
// imports: {
// dirs: ["./composables", "../../packages/composables"],
Expand Down

0 comments on commit b31dc95

Please sign in to comment.