Skip to content

albertogmdev/strapi-nextjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Strapi and Next JS project

Next project (app)

Create a new project, Next version 14.1.0

npx create-next-app@14.1.0 app

Node version should be greater than 18.17

Next configuration

Option Value Description
output export generate a build
compress false disable the compression
distDir static-build name of the build
trailingSlash true /page/ will be redirected to /page

Installed dependecies

Slick carrusel

npm install react-slick slick-carousel

Sitemap generation

npm install next-sitemap

Strapi project (api)

Create a new project, Strapi version 4.20.0

npx create-strapi-app@v4.20.0 api

Installed dependecies

Deep populate plugin

npm install strapi-plugin-populate-deep

Localization plugin

npm install @strapi/plugin-i18n

SEO plugin

npm install @strapi/plugin-seo

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published