Daniel Sousa @TutoDS
Explore posts from serversGoogle Analytics
Hi everyone
I'm trying to add Google Analytics to my Solid Start project, but no data appears on the analytics page.
Already try two ways:
- Using script loader
- add the code on
onMount
Anyone can help me please?5 replies
PPrisma
•Created by Daniel Sousa @TutoDS on 1/4/2025 in #help-and-questions
Nestjs Prisma extension
Hi everyone
I'm trying to fill the
code
field with a custom nanoid()
with only uppercase letters and numbers, but when I do the $extends
with my logic, I have two problems:
- I think my custom nanoid()
isn't working
- Typescript is complaining because I didn't fill the code on the .create
This is my prisma service:
16 replies
PPrisma
•Created by Daniel Sousa @TutoDS on 12/25/2024 in #help-and-questions
Soft Delete with Nestjs
Hi everyone
How I can implement soft deletes using Prisma and Nestjs?
I found on the docs but is using middlewares, and for what I know, they are deprecated.
Thanks for your time
17 replies
Default SEO vs Route SEO
Hi everyone
I'm facing an issue where my DEFAULT SEO overrides the ROUTE SEO.
I created two components (on the thread):
- the
default.tsx
where I import on app.tsx
;
- the page.tsx
where I import on each route.
But, when I see the meta tags, they are from the default.tsx
instead of the page.tsx
.
Any way to keep the default and override it on the routes?14 replies
Filtering projects not working
Hi everyone
I'm trying to filtering my projects list according to a "tabs", where I click and set the
searchParam
tab
, but isn't working.
Only works if I refresh the page.
This is my createAsync
:
I will leave the rest of the code in the thread3 replies
Dynamic `<head>`
Hi everyone
Is possible to put on
app.tsx
a dynamic <head>
tags (Title
, Meta
, ...)?
Basically I have all my content manage on a CMS, and I want to se the base title, the base meta tags fetching from CMS, but if I try to use createResource
on app.tsx
gives me an error.
Any suggestion6 replies