create-client icon indicating copy to clipboard operation
create-client copied to clipboard

feat: handle route prefix for Next and Nuxt

Open Shywim opened this issue 4 years ago • 0 comments

Q A
Branch? main
Tickets #310 #284
License MIT
Doc PR

This adds support for route_prefix for Next and Nuxt. Directories for each segment are created for the pages, e.g. foo/bar/entity will create pages/foo/bar/entity/index.js and so on for every template.

This fixes #284 and #310

This also comes with a fix for the Next template which didn't work out the box due to the API response being parsed twice (res.json() followed by res.text()) in dataAccess.ts

Shywim avatar Nov 25 '21 16:11 Shywim