This a example for a possible use of the redaxo_headless REDAXO AddOn.
The navigation endpoint of the addon is used in "src/App.vue" and the page content endpoint can be found in action inside "src/views/Page.vue".
This example application is not Search Engine Optimized (due to a lack of knowlegde on my part). Feel free to add a PR!
- Please make sure that the redaxo_headless addon is installed on your REDAXO Instance.
- Clone this repo.
- Copy the ".env" file as ".env.local".
- Set the url of your REDAXO instance inside the ".env.local".
- Make sure the debug mode is enabled in the REDAXO addon.
- Install NPM dependencies run
npm install
- Start app
npm run serve
- Please make sure that the redaxo_headless addon is installed on your REDAXO Instance.
- Make sure the headless/deployment plugin is installed and enabled.
- Enable deployment and add a token in the REDAXO addon on the "deploy" page.
- Add GitHub action to the repo: redaxo-headless-deploy
- Push your repo to GitHub.