Closed vloss3 closed 5 months ago
@vloss3 Once the improvements are done, could you add a test case for when the exposeAPIRouteRules
option is set to false. It can be a copy of https://github.com/drunomics/nuxtjs-drupal-ce/blob/2.x/test/basic.test.ts with the exposeAPIRouteRules
set to false
.
@vloss3 README needs to be updated as well for this feature.
The following was discussed to move forward with this feature:
New options:
Note: Those options will have defaults and will not require configuration changes
Route rules changes:
Use cases to consider:
Tests and customizing cache rules(by project) will be carried in follow-up issues.
@vloss3 I updated README slightly. I was not sure about DRUPAL_BASE_URL - do we still support that variable actually? Since there is built-in support in nuxt to override config via NUXTPUBLIC... I could see us dropping that + documenting that instead.
Solves #165