Skip to content

Commit c4402dd

Browse files
committed
Update to Nextjs 15
1 parent f9da1ad commit c4402dd

File tree

3 files changed

+9
-11
lines changed

3 files changed

+9
-11
lines changed

Diff for: nextjs-ts/package.json

+5-7
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,15 @@
1414
"@amcharts/amcharts4": "^4.10.36",
1515
"@amcharts/amcharts5": "^5.3.15",
1616
"@types/node": "20.2.5",
17-
"@types/react": "18.2.8",
18-
"@types/react-dom": "18.2.4",
19-
"@types/react-router-dom": "^5.3.3",
17+
"@types/react": "^18.3.12",
18+
"@types/react-dom": "^18.3.1",
2019
"flexmonster": "latest",
2120
"highcharts": "^11.1.0",
22-
"next": "13.4.4",
21+
"next": "15.0.3",
2322
"open-cli": "^7.2.0",
24-
"react": "18.2.0",
25-
"react-dom": "18.2.0",
23+
"react": "^18.3.1 ",
24+
"react-dom": "^18.3.1",
2625
"react-flexmonster": "latest",
27-
"react-router-dom": "^5.2.0",
2826
"typescript": "5.1.3"
2927
}
3028
}

Diff for: nextjs-ts/src/app/globals.css

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import "flexmonster/flexmonster.css";
2+
13
/* Alignment */
24
body {
35
margin: 0;

Diff for: nextjs-ts/src/app/layout.tsx

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
import './globals.css'
2-
import 'flexmonster/flexmonster.css'
32
import TopMenu from '@/UIElements/TopMenu'
43
import SideMenu from '@/UIElements/SideMenu'
54
import { Inter } from 'next/font/google'
6-
import "flexmonster/flexmonster.css"
75

86
const inter = Inter({ subsets: ['latin'] })
97

108
export const metadata = {
11-
title: 'Flexmonster Next App',
9+
title: 'Flexmonster Next App'
1210
}
1311

1412
export default function RootLayout({
@@ -31,4 +29,4 @@ export default function RootLayout({
3129
</body>
3230
</html>
3331
)
34-
}
32+
}

0 commit comments

Comments
 (0)