glikli
glikli
NNuxt
Created by glikli on 4/12/2024 in #❓・help
New SaaS project: Super Admin & Client Admin, how to structure?
Hi! We are about to rewrite our admins and i would like som tips/recommendation regarding how to structure this. Today, we have one admin for our clients, where they can change different settings such as billings etc. Then we have an admin for our Super Admins / Account Managers. The "Super admins" can change global settings for the product itself, customer permissions etc. and are also able to change settings on behalf of a customer. So a super admin can change everything for a customer. Today the super admin "login" as a customer through the global admin and then ends up in the client admin as the user. I don't like it that way and would like som tips on how to structure this a better way (if there is one?). I prefer that the super admin doesn't leave the super admin when helping a customer out. Do you have any recommendations?
19 replies
NNuxt
Created by glikli on 2/20/2024 in #❓・help
How to detect cause of slow initial response (SSR)
The initial SSR response takes long to retrieve (Root document). I use useAsyncData to get page data from the API (request takes 50ms) . But the result of the document is close to 750-800 ms. What is taking so long? How can I debug this? Thanks
3 replies
NNuxt
Created by glikli on 3/29/2023 in #❓・help
Implement Facebook Pixel
What is the recommended way to implement a facebook pixel? I have to add script tags with custom js before </head> tag
5 replies