Upgrading
January 27, 2023 ยท View on GitHub
Website JSS project
- Create an empty JSS Next.js app using the target JSS version. E.g.:
npx create-sitecore-jss@20.0.3 --templates nextjs,nextjs-sxa --appName jss-upgrade-target-nextjs-sxa --fetchWith GraphQL --prerender SSG- Replace
20.0.3by the target version you want to upgrade to.
- Replace
- Using a folder compare tool, compare the new empty sample app with the PLAY! Summit website app (
\Website\src\rendering). - Merge JSS sample changes into the PLAY! Summit website app.
- Make sure to keep the DEMO TEAM CUSTOMIZATIONS comments when necessary and remove those that are already covered by the new sample.