File tree Expand file tree Collapse file tree 1 file changed +15
-13
lines changed
docusaurus/docs/dev-docs/migration/v4 Expand file tree Collapse file tree 1 file changed +15
-13
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ The present migration guide upgrades Strapi v4.14.0 to v4.15.5. Strapi v4.15.5 u
1919
2020<PluginsCaution components ={props.components} />
2121
22-
2322## Upgrading the application dependencies to 4.15.5
2423
2524::: prerequisites
@@ -34,7 +33,12 @@ Stop the server before starting the upgrade.
3433 "dependencies" : {
3534 "@strapi/strapi" : " 4.15.5" ,
3635 "@strapi/plugin-users-permissions" : " 4.15.5" ,
37- "@strapi/plugin-i18n" : " 4.15.5"
36+ "@strapi/plugin-i18n" : " 4.15.5" ,
37+ "react" : " ^18.0.0" ,
38+ "react-dom" : " ^18.0.0" ,
39+ "react-router-dom" : " 5.3.4" ,
40+ "styled-components" : " 5.3.3"
41+
3842 // ...
3943 }
4044 }
@@ -54,12 +58,11 @@ Manually update the [`config/middlewares.js` configuration file](/dev-docs/confi
5458<TabItem value =" javascript " label =" JavaScript " >
5559
5660``` js title="./config/middlewares.js" {3}
57-
5861module .exports = [
59- ' strapi::logger' ,
60- ' strapi::errors' ,
61- ' strapi::security' ,
62- ' strapi::cors' ,
62+ " strapi::logger" ,
63+ " strapi::errors" ,
64+ " strapi::security" ,
65+ " strapi::cors" ,
6366 // …
6467];
6568```
@@ -69,14 +72,13 @@ module.exports = [
6972<TabItem value =" typescript " label =" TypeScript " >
7073
7174``` ts title="./config/middlewares.ts" {3}
72-
7375export default [
74- ' strapi::logger' ,
75- ' strapi::cors' ,
76- ' strapi::body' ,
77- ' strapi::errors' ,
76+ " strapi::logger" ,
77+ " strapi::cors" ,
78+ " strapi::body" ,
79+ " strapi::errors" ,
7880 // …
79- ]
81+ ];
8082```
8183
8284</TabItem >
You can’t perform that action at this time.
0 commit comments