File tree Expand file tree Collapse file tree 4 files changed +11
-402
lines changed Expand file tree Collapse file tree 4 files changed +11
-402
lines changed Original file line number Diff line number Diff line change 99 "lint" : " next lint"
1010 },
1111 "dependencies" : {
12- "@emotion/react" : " 11.10.4" ,
13- "@emotion/server" : " 11.4.0" ,
1412 "next" : " 12.3.1" ,
1513 "react" : " 18.2.0" ,
1614 "react-dom" : " ^18.2.0" ,
17- "dsfr-react" : " file:../../../../dist" ,
18- "tss-react" : " ^4.1.3"
15+ "dsfr-react" : " file:../../../../dist"
1916 },
2017 "devDependencies" : {
2118 "@types/react" : " 18.0.21" ,
Original file line number Diff line number Diff line change 1- import Head from "next/head" ;
2- import type { AppProps } from 'next/app'
3- import { createEmotionSsrAdvancedApproach } from "tss-react/nextJs" ;
1+ import DefaultApp from "next/app" ;
42import "dsfr-react/dsfr/dsfr.css" ;
53import { withDsfr } from "dsfr-react/lib/nextJs" ;
64
7- const { EmotionCacheProvider, withEmotionCache } = createEmotionSsrAdvancedApproach ( { "key" : "css" } ) ;
8-
9- export { withEmotionCache } ;
10-
11- export function App ( { Component, pageProps } : AppProps ) {
12- return (
13- < >
14- < Head >
15- < title > Next DSFR!</ title >
16- < meta name = "description" content = "Generated by create next app" />
17- </ Head >
18- < EmotionCacheProvider >
19- < Component { ...pageProps } />
20- </ EmotionCacheProvider >
21- </ >
22- ) ;
23- }
245
256//export default withDsfr(DefaultApp);
26- export default withDsfr ( App , {
7+ export default withDsfr ( DefaultApp , {
278 "defaultColorScheme" : "system" ,
289 "preloadFonts" : [
2910 //"Marianne-Light",
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments