React und Tailwind aufgesetzt

This commit is contained in:
BettinaHallinger
2022-03-17 09:34:20 +01:00
parent 182cdf9597
commit 78a505eb44
17 changed files with 11782 additions and 9 deletions
+13
View File
@@ -0,0 +1,13 @@
const reportWebVitals = onPerfEntry => {
if (onPerfEntry && onPerfEntry instanceof Function) {
import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {
getCLS(onPerfEntry);
getFID(onPerfEntry);
getFCP(onPerfEntry);
getLCP(onPerfEntry);
getTTFB(onPerfEntry);
});
}
};
export default reportWebVitals;