NPM Commands
With the Kontent Project and Sample site configured, you can now run:
npm run kontent
This command runs a custom Docusaurus CLI command that synchronizes the sample project's physical markdown files and sidebar.js file with the content stored in the Kentico Kontent headless CMS.
Once the content has been synchronized, entering:
npm run start
in the terminal will start the site at http://localhost:3000.
Note
This project comes pre-populated with documentation content. Â The first run of the Kontent synchronization (npm run kontent) will delete any content not present in your Kentico Kontent project.