Blank page while using vercel analytics
I deployed a website made in solid js in vercel i want to use vercel analytics but when i add it to the app.tsx all pages go blank here is the code for app.tsx file in this I haven't added the analytics tag
8 Replies
The analytics tag is missing in this code snippet, too
sorry that was older code
Ah, yes. You try to directly insert a react component into a solid component. That's not going to fly.
oh i didn't know i am new to web dev
so there might be vercel analytic for solid js?
You are supposed to use the inject function from '@vercel/analytics' for other frameworks.
Haven't tried it for solid yet.
ohk will try that
thank you
I should probably do a recipe for our script loader primitive at some point.