Edit README.md via Editor
This commit is contained in:
parent
63e8dbb74c
commit
9d43f0198b
21
README.md
21
README.md
@ -245,4 +245,23 @@ The **docker folder** contains a couple of helper scripts:
|
||||
admin commands tools for admin@flatlogic.com
|
||||
admin_pass for admin@flatlogic.com
|
||||
password for admin@flatlogic.com PASSWORD fac6a658
|
||||
Google
|
||||
Google
|
||||
import { useReportWebVitals } from 'next/web-vitals'
|
||||
|
||||
const handleWebVitals = (metric) => {
|
||||
switch (metric.name) {
|
||||
case 'FCP': {
|
||||
// handle FCP results
|
||||
}
|
||||
case 'LCP': {
|
||||
// handle LCP results
|
||||
}
|
||||
// ...
|
||||
}
|
||||
}
|
||||
|
||||
function MyApp({ Component, pageProps }) {
|
||||
useReportWebVitals(handleWebVitals)
|
||||
|
||||
return <Component {...pageProps} />
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user