api-platform / create-client

Generate React or Vue.js-based Progressive Web Apps from an Hydra-enabled API. Also support React Native.
https://api-platform.com/docs/client-generator/
MIT License
369 stars 132 forks source link

fix: manage route prefix #336

Closed alanpoulain closed 2 years ago

alanpoulain commented 2 years ago

Replaces https://github.com/api-platform/client-generator/pull/314.

Instead of https://github.com/api-platform/client-generator/pull/314, route prefix does not change how the pages are generated. A getPath helper function allows to get the corresponding path from an IRI having a prefix.

This PR also adds E2E tests for Nuxt.