add artplayer-template

This commit is contained in:
Harvey Zack committed 2022-05-03 11:11:23 +08:00
1 parent 8fa763b9c7
commit 703f881019
59 files changed
+1408 -1

No files matched your search

@@ -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;