appbaseio / reactivesearch

Search UI components for React and Vue
https://opensource.appbase.io/reactivesearch
Apache License 2.0
4.89k stars 470 forks source link

Add a with-reactivesearch example in the nextjs repo #343

Open divyanshu013 opened 6 years ago

divyanshu013 commented 6 years ago

Issue Type:

Enhancement/Docs

Platform:

Web

Description:

Now that SSR is working, we should add an example in the nextjs repo here which would also be bootstrapped with create-next-app. We already have the example in the /examples directory which can be ported with minor changes

Reactivesearch version: 2.6.0

mohiyaddeen7 commented 9 months ago

Hey i am interested, can you assign this to me @siddharthlatest @divyanshu013

siddharthlatest commented 9 months ago

@mohiyaddeen7 Sure, I'm assigning this to you

mohiyaddeen7 commented 9 months ago

@mohiyaddeen7 Sure, I'm assigning this to you

Thank you, I am up for it. If you could give me some guidance, that would be a great help.

siddharthlatest commented 9 months ago

@mohiyaddeen7 You can use the example here as a starting point: https://github.com/appbaseio/reactivesearch/tree/next/packages/web/examples/ssr

Make changes as per Next.js's contributing guide for their examples: https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md

Make PR on their repo.

mohiyaddeen7 commented 9 months ago

err

err_code

i worked on this example : https://github.com/appbaseio/reactivesearch/tree/next/packages/web/examples/ssr

and implemented this in next js and got some errors that i fixed. but i am getting one error that i am not able to fix related to fetching static css file from _next directory i suppose

3xp10it3r commented 9 months ago

Can You assign this to me ? @siddharthlatest

siddharthlatest commented 9 months ago

@3xp10it3r Can you check on the error reported above and see if you're able to get past this? I can then consider assigning.