This project is an implementation of Sitecore JavaScript Services Software Development Kit(SDK) for Astro. It contains Astro components and integration for JSS. It is fully featured SDK. You can use it to build your website with Astro and Sitecore.
/sitecore/content/Headless/Astro
node -v
. If version is lower than 18, please, update it to LTS version 18+.cd ./astro-sitecore-jss/packages/astro-sitecore-jss/
npm install
cd ./astro-sitecore-jss/packages/astro-sitecore-jss-sample/
npm install
npm run dev
command/sitecore/content/Headless/Astro/home/styleguide
npx @astro-sitecore-jss/create-astro-sitecore-jss@latest
npm run dev
npm run build
command to build the project./dist
folder to your web serverAstro support deployment to many platforms. Please, follow Astro documentation to deploy your website. Some examples:
Currently, project supports only Sitecore first approach. You are not able to push items to Sitecore from code. Please, follow instruction under Sitecore folder to setup Sitecore instance. It is Docker based, so you can easily run it locally with a few commands.
If you would like to see demo, please, contact
Sponsored by EXDST