Closed feugy closed 10 months ago
The latest updates on your projects. Learn more about Vercel for Git βοΈ
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
speed-insights-nextjs | β Ready (Inspect) | Visit Preview | π¬ Add feedback | Nov 27, 2023 10:30am |
speed-insights-remix | β Ready (Inspect) | Visit Preview | π¬ Add feedback | Nov 27, 2023 10:30am |
speed-insights-sveltekit | β Ready (Inspect) | Visit Preview | π¬ Add feedback | Nov 27, 2023 10:30am |
π What's in there?
A dedicated component that could also be used with applications, and a fix for exported files
https://vercel.slack.com/archives/C04KC8A53T7/p1700570258506539?thread_ts=1700566622.149479&cid=C04KC8A53T7
π§ͺ How to test?
I made 2 new testing apps:
apps/nuxt
: an Nuxt application with classical file-based routingapps/vue
: a barebone vue with no routing (little interest, but ensure compatibility with any vue app)I considered adding a test application for vue+vue-router (the standard router in vue ecosystem), but since nuxt is based on vue-router, it had little interest.
To test them locally:
pnpm i
at the rootapps/vue/src/App.vue
to addscriptSrc="https://va.vercel-scripts.com/v1/speed-insights/script.js"
to the new<SpeedInsights />
componentapps/nuxt/layouts/default.vue
to do the samecd apps/nuxt && pnpm dev
β Notes to reviewers
I'll deploy the new example apps as soon as we'll merge this PR. I can't setup the Vercel app until the code is on the main branch.