Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add usage docs on how to integrate with Next.js #43

Open
elliotBraem opened this issue Jul 18, 2024 · 0 comments
Open

Add usage docs on how to integrate with Next.js #43

elliotBraem opened this issue Jul 18, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@elliotBraem
Copy link
Contributor

elliotBraem commented Jul 18, 2024

Web components don't work great with SSR, we should add a usage section outlining out to integrate with a Next.js app

You need to install and configure near-social-vm, you can an example of this in create-near-app w/ next.js for reference

Otherwise if you're just wanting to embed one single widget or have one entry point, you can also use
near-bos-webcomponent, but web components don't work so well with SSR, so you'll need a fancy import

@elliotBraem elliotBraem added the documentation Improvements or additions to documentation label Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant