mirror of
https://github.com/LucasVbr/todo-list.git
synced 2026-05-13 17:22:04 +00:00
feat(vercel): Add Speed Insights from Vercel
This commit is contained in:
@@ -22,3 +22,4 @@ dist-ssr
|
|||||||
*.njsproj
|
*.njsproj
|
||||||
*.sln
|
*.sln
|
||||||
*.sw?
|
*.sw?
|
||||||
|
.vercel
|
||||||
|
|||||||
@@ -12,6 +12,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@heroicons/react": "^2.1.3",
|
"@heroicons/react": "^2.1.3",
|
||||||
"@reduxjs/toolkit": "^2.2.3",
|
"@reduxjs/toolkit": "^2.2.3",
|
||||||
|
"@vercel/speed-insights": "^1.0.10",
|
||||||
"react": "^18.2.0",
|
"react": "^18.2.0",
|
||||||
"react-dom": "^18.2.0",
|
"react-dom": "^18.2.0",
|
||||||
"react-redux": "^9.1.2"
|
"react-redux": "^9.1.2"
|
||||||
|
|||||||
+3
-2
@@ -1,3 +1,5 @@
|
|||||||
|
import { SpeedInsights } from "@vercel/speed-insights/react"
|
||||||
|
|
||||||
import Navbar from './components/Navbar.tsx';
|
import Navbar from './components/Navbar.tsx';
|
||||||
import Footer from './components/Footer.tsx';
|
import Footer from './components/Footer.tsx';
|
||||||
import TodoCard from './components/todos/TodoCard.tsx';
|
import TodoCard from './components/todos/TodoCard.tsx';
|
||||||
@@ -7,12 +9,11 @@ export default function App() {
|
|||||||
return (
|
return (
|
||||||
<div className={"min-h-screen bg-base-300"}>
|
<div className={"min-h-screen bg-base-300"}>
|
||||||
<Navbar/>
|
<Navbar/>
|
||||||
|
|
||||||
<main className={"w-full min-h-screen flex justify-center items-center"}>
|
<main className={"w-full min-h-screen flex justify-center items-center"}>
|
||||||
<TodoCard/>
|
<TodoCard/>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<Footer/>
|
<Footer/>
|
||||||
|
<SpeedInsights/>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user