How to install
- Run npm i contentlayer —save-dev.
- Create a content directory and markdown files.
- Create a contentlayer.config.js file.
- Expand Script section in package.json.
- Add code to your +page.svelte, +page.ts/.js.
- Run NPM to build or dev.
- Open the site within your webbrowser.
For details have a look into this repository to get hints.