Skip to content

Superplate doesnt create a best practice refine nextjs project #263

@smparekh

Description

@smparekh

Issue:
Project is split between src/ and pages/ (see: https://github.com/pankod/refine/tree/master/examples/refine-next) which works well when doing local development with yarn dev doing a production build of the app via yarn build leads to an incomplete build with next ignoring all pages under src/pages (see: Caveats https://nextjs.org/docs/advanced-features/src-directory).

Workaround:
Currently including the src directory in the deployment bundle does the trick but leads to an unoptimized deployment

Fix:
Superplate should create a refine-nextjs app that works with yarn dev and with yarn build

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions