/
githubmirror
/
next.js
Обзор
Документация
Войти
/
githubmirror
/
next.js
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
canary
test/e2e/script-loader/pages/_app.js
23 строки
597 B
Tim Neutkens
Convert test/integration to isolated tests (#93247)
11 май 2026, 14:55
Не верифицирован
11 май 2026, 14:55
8141dcf
Код
Авторство
О чём код?
import Script from 'next/script' import '../styles/styles.css' function MyApp({ Component, pageProps }) { return ( <> <Script id="documentAfterInteractive" src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.20/lodash.min.js?a=documentAfterInteractive" strategy="afterInteractive" /> <Script id="documentLazyOnload" src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.20/lodash.min.js?a=documentLazyOnload" strategy="lazyOnload" /> <Component {...pageProps} /> </> ) } export default MyApp