question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SSR example/ instructions?

See original GitHub issue

I’d like to use this in a next.js application where the page is SSR by default but there aren’t any instructions in the documents on how to use the SSR feature? Do you have an example or some instructions for this?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:16 (2 by maintainers)

github_iconTop GitHub Comments

6reactions
sargtier1commented, Dec 31, 2019

Hey not sure if anyone needs this but I just fixed it doing this:

  1. run the command npm i @zeit/next-css
  2. create a next.config.js file
  3. inside of the file put the following
const withCSS = require('@zeit/next-css')

module.exports = withCSS({})
  1. put this line of import code at whatever file you need it in: import 'react-responsive-carousel/lib/styles/carousel.min.css'
  • not sure if all these steps need to be taken however from my experience you need to create the config like this just to be able to use CSS from the server. Haven’t tested like I said but LMK!
5reactions
liyanalzmcommented, Aug 2, 2018

I am having this issue too, have you found any solution?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Sample Summary Subcontract Report (SSR) - eSRS.gov
Sample Summary Subcontract Report (SSR). Step-by-Step Screen shots of Contractor Submission Process. Step 1: Instructions ...
Read more >
A beginner's guide to React Server-Side Rendering (SSR)
In this sample project, we are using Webpack to transpile React and ES6 to JavaScript with the help of Babel. Also, we are...
Read more >
Server Side Rendering the right way | by José Manuel Aguirre
SSR : The process where a user asks the server for some url, for example: https://www.mywebsite.com/how-to-ssr and the server responds with an ...
Read more >
Server-side Rendering - Astro Documentation
Implement sessions for login state in your app. Render data from an API called dynamically with fetch . Deploy your site to a...
Read more >
Self-Study Report Instructions and Forms
Between SSR submission and on-site visit, begin file name with AddMat_, for example AddMat_file name.pdf; After on-site visit and before CAPTE ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found