cloudy-cyan
cloudy-cyan2y ago

Example pages are not prompted in the latest version of create-refine-app

I am not getting "Do you want to add example pages?" when I use: npm create refine-app@latest. Any help?
3 Replies
adverse-sapphire
adverse-sapphire2y ago
Hey @sohoca, which data provider are you selecting?
fascinating-indigo
fascinating-indigo2y ago
GraphQL
adverse-sapphire
adverse-sapphire2y ago
Unfortunately, currently create-refine-app does not create example pages for GraphQL data providers. (Both hasura and graphql options) But it's work in progress and soon create-refine-app will work with these 🙏 For now, you can pick another data provider (such as REST to keep it simple) then, follow our guides and examples to update the example pages for your needs 🙏 Here's how you use Inferencer with GraphQL data providers (if you want to use Inferencer for a quick start, go for it) https://refine.dev/docs/packages/documentation/inferencer/#usage-with-graphql-backends-and-meta-values Here's our GraphQL docs https://refine.dev/docs/packages/documentation/data-providers/graphql/ Here's two of our examples with GraphQL (one is Hasura and other one is Strapi but they work the same) https://github.com/refinedev/refine/tree/next/examples/inferencer-graphql-hasura https://github.com/refinedev/refine/tree/next/examples/data-provider-strapi-graphql
GraphQL | refine
refine graphql and strapi-graphql data provider built with gql-query-builder and graphql-request is made for GraphQL implementation. It aims to create a query dynamically with gql-query-builder and send requests with graphql-request.
GitHub
refine/examples/inferencer-graphql-hasura at next · refinedev/refine
Build your React-based CRUD applications, without constraints. - refine/examples/inferencer-graphql-hasura at next · refinedev/refine
GitHub
refine/examples/data-provider-strapi-graphql at next · refinedev/re...
Build your React-based CRUD applications, without constraints. - refine/examples/data-provider-strapi-graphql at next · refinedev/refine
Inferencer | refine
@refinedev/inferencer is a package that provides a way to automatically generate views for resources based on the data structure. The aim is to reduce the amount of time spent on creating views for resources by generating the code automatically that can be customized easily.

Did you find this page helpful?