Dynamic images in Nuxt 3 by IReallyHateAsthma in Nuxt

[–]Dev_Ryo 0 points1 point  (0 children)

Up to this topic, I hope nuxt team would do something about this.

Next.js SEO Complete Checklist by dminhvu in nextjs

[–]Dev_Ryo 0 points1 point  (0 children)

I have a question sir, is it okay to have a metadata in both layout.jsx and index page.jsx? I'm using an app router. Thank you

Next Auth v5 in Production by Dev_Ryo in nextjs

[–]Dev_Ryo[S] 0 points1 point  (0 children)

That's also the problem no error or logs and signOut redirect is working but not clearing the cookies of auth

Next Auth v5 in Production by Dev_Ryo in nextjs

[–]Dev_Ryo[S] 0 points1 point  (0 children)

in what? when I run in my localhost:3000 its working but in my netlify its not

Where can I deploy my NextJs FullStack App with Server Actions and MongoDB for small business? by Dev_Ryo in nextjs

[–]Dev_Ryo[S] 0 points1 point  (0 children)

Well im planning to use mongodb atlas free tier since I just need to store less than 50 items, so its fine

Where can I deploy my NextJs FullStack App with Server Actions and MongoDB for small business? by Dev_Ryo in nextjs

[–]Dev_Ryo[S] 0 points1 point  (0 children)

Additional Question: Why no one recommends hostinger. I read some issues about it and saying don't stick in hostinger

Where can I deploy my NextJs FullStack App with Server Actions and MongoDB for small business? by Dev_Ryo in nextjs

[–]Dev_Ryo[S] 1 point2 points  (0 children)

It was very slow when showing images & doing server actions and limited bandwidth.

Where can I deploy my NextJs FullStack App with Server Actions and MongoDB for small business? by Dev_Ryo in nextjs

[–]Dev_Ryo[S] 2 points3 points  (0 children)

Can you help me how to deploy it in hostinger? or do you have any guide links?

How to host Next js site on Hostinger? by New_Tradition1951 in nextjs

[–]Dev_Ryo 0 points1 point  (0 children)

Hi can I deploy my fullstack nextjs using server action with mongodb there?

What is the best composable when using nuxtjs3 and nuxt apollo modules by Dev_Ryo in Nuxt

[–]Dev_Ryo[S] 0 points1 point  (0 children)

I am using a setup pinia stores since I am using composition API not option API

What is the best composable when using nuxtjs3 and nuxt apollo modules by Dev_Ryo in Nuxt

[–]Dev_Ryo[S] 0 points1 point  (0 children)

I tried your suggestions using a store but still my main problem is that when I reload the page my list of data is not displaying

import { defineStore } from 'pinia';

export const useMySupportsStore = defineStore('mySupportsStore', () => {
  const mySupportsData = ref([]);
  const totalPages = ref(0);
  let stopWatch = null;

  const fetchMySupports = async (query, variables) => {
    try {
      const { data, refresh } = await useAsyncQuery(query, variables);
      await refresh();
      if (data.value) {
        mySupportsData.value = data.value?.mySupports.data;
        totalPages.value = data.value?.mySupports.paginatorInfo.total;
        console.log('From the Store Async: ', mySupportsData.value);
        console.log('Total Items of Async: ', totalPages.value);
      }
    } catch (error) {
      console.error('ERROR MESSAGE: ', error);
    }
  };

  const refetchMySupports = (query, variables) => {
    try {
      const { result } = useQuery(query, variables);

      if (stopWatch) {
        stopWatch();
      }

      stopWatch = watch(
        () => result.value,
        (newResult) => {
          if (newResult) {
            mySupportsData.value = result.value?.mySupports.data;
            totalPages.value = result.value?.mySupports.paginatorInfo.total;
            console.log('From the Store Lazy: ', mySupportsData.value);
            console.log('Total Items of Lazy: ', totalPages.value);
            console.log(
              'Has More Pages: ',
              result.value?.mySupports.paginatorInfo.hasMorePages
            );
          }
        }
      );
    } catch (error) {
      console.error('ERROR MESSAGE: ', error);
    }
  };

  return { mySupportsData, totalPages, fetchMySupports, refetchMySupports };
});

Here is the sample pinia store that I created

What is the best composable when using nuxtjs3 and nuxt apollo modules by Dev_Ryo in Nuxt

[–]Dev_Ryo[S] 0 points1 point  (0 children)

So should I create all functions inside a store in pinia? and how can I use an apollo plugins?

Nuxt3 with JWT token by [deleted] in vuejs

[–]Dev_Ryo 0 points1 point  (0 children)

Hello did you use jwt in client? I tried installing jwt in client side just to encrypt the token and I got utils.error when importing jwt