Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
dansup
dansup
@dansup@mastodon.social  ·  activity timestamp 7 days ago

I ❤️ #NuxtJS and #Tailwind so much!

It's such a great developer experience, and makes building the new @PixelFed redesign easier and faster 🚀

New frontend code for Pixelfed redesign, showcasing the power of NuxtJS with the `navigateTo()` function.

Full source code depicted in the image:

<template #items>
                                <DropdownItem v-if="!profile.local" id="viewOriginal"
                                    @select="navigateTo(profile.url, { external: true, open: { target: '_blank' } })">
                                    <Icon name="ion:open-outline" class="text-base opacity-60" />
                                    <span>Go to remote profile</span>
                                </DropdownItem>
New frontend code for Pixelfed redesign, showcasing the power of NuxtJS with the `navigateTo()` function. Full source code depicted in the image: <template #items> <DropdownItem v-if="!profile.local" id="viewOriginal" @select="navigateTo(profile.url, { external: true, open: { target: '_blank' } })"> <Icon name="ion:open-outline" class="text-base opacity-60" /> <span>Go to remote profile</span> </DropdownItem>
New frontend code for Pixelfed redesign, showcasing the power of NuxtJS with the `navigateTo()` function. Full source code depicted in the image: <template #items> <DropdownItem v-if="!profile.local" id="viewOriginal" @select="navigateTo(profile.url, { external: true, open: { target: '_blank' } })"> <Icon name="ion:open-outline" class="text-base opacity-60" /> <span>Go to remote profile</span> </DropdownItem>
  • Copy link
  • Flag this post
  • Block
Capricious Day
Capricious Day
@capriciousday@mastodon.social replied  ·  activity timestamp 7 days ago

@dansup @PixelFed how did you choose nuxtJS? I can see how it's appealing but I guess my eyes have mostly been on htmx for SSR - have you tried both? I don't have a strong preference just interested to hear your thoughts

  • Copy link
  • Flag this comment
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1-beta.35 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct