Replies: 1 comment
-
This is not related to classes. Reducing your payload size only works by sending less data "to the client". See e.g. this video to use the transform option. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys,
I'm coming from an Angular background, so i like very much of classes with functions with a good name like this:
But when i start to develop with Nuxt 3, i was facing the classic "POJO OBJECT" error and i fix this error with the payload.ts file, this is my class
I'm not very happy because every time i need to create a new class, i need to put there in classMap, anyone has a better solution?
Beta Was this translation helpful? Give feedback.
All reactions