Skip to content
This repository has been archived by the owner. It is now read-only.

jelleschutter/redaxo-headless-vue-frontend

Repository files navigation

redaxo-headless-vue

This a example for a possible use of the redaxo_headless REDAXO AddOn.

Examples

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".

SEO

This example application is not Search Engine Optimized (due to a lack of knowlegde on my part). Feel free to add a PR!

Development Setup

  1. Please make sure that the redaxo_headless addon is installed on your REDAXO Instance.
  2. Clone this repo.
  3. Copy the ".env" file as ".env.local".
  4. Set the url of your REDAXO instance inside the ".env.local".
  5. Make sure the debug mode is enabled in the REDAXO addon.
  6. Install NPM dependencies run npm install
  7. Start app npm run serve

Deployment Setup

  1. Please make sure that the redaxo_headless addon is installed on your REDAXO Instance.
  2. Make sure the headless/deployment plugin is installed and enabled.
  3. Enable deployment and add a token in the REDAXO addon on the "deploy" page.
  4. Add GitHub action to the repo: redaxo-headless-deploy
  5. Push your repo to GitHub.

About

Example for a frontend SPA using Vue for the redaxo "headless" addon.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages