menu
Channels
Team
Posts
Chat
Members
Info
down-caret
Tim·2d·Pinned# General

Companies / Sites using Next.js

ZEIT - https://zeit.co Netflix - https://jobs.netflix.com/ Trulia - https://twitter.com/Timcorreia/status/950974800234668032 …

thumbsup
119
message-simple
522

How to print to thermal printer using next.js?

Hi everyone. First question here. I am trying to print to thermal printer using escpos but I received some errors such as: Module not found: Can't resolve 'child_process' in 'D:\myproject\node_modules\@serialport\bindings\lib' Module not found: Can't resolve 'fs' in…

thumbsup
0
message-simple
3

How to animate images ?

Hi, I'm learning Next and i want to know how to animate images and icons like this website https://startp-react.envytheme.com/ can anyone help me in this?

thumbsup
0
message-simple
3

How to use dynamic importing using nextjs 5 & webpack 3. I am getting 404s in…

Here's my sample code: import('components/cards/index') .then(Component => { …

thumbsup
0
message-simple
3

Next.js 8 and RNW Transpilation Issues

TL;DR: I need to transpile ESM source with Next.js, but I am unable to get it working with Next.js 8 I am attempting to transpile react-native-web source inside of my Next.js project. I succeeded at doing this in the past (see older Next.js RNW example). With Next.js 8,…

thumbsup
0
message-simple
3

Fetching data and passing it to a page

I have a page located at the url /dashboard/servers loading from servers.js in the /dashboard folder and currently, I'm using getInitialProps to get the data from an API-route and pass it to the page via props. However, when a user navigates to another page and navigates back to…

thumbsup
0
message-simple
2

Next AWS EC2 deployment guide

Hello, I have built a Next.js app with custom Express back end (nothing major, just some custom API routes, controllers and Mongo/Mongoose). I'm trying to deploy to an AWS EC2 instance but struggling. Can anybody recommend a deployment guide/tutorial or an alternative to AWS…

thumbsup
0
message-simple
9

Call back after change router

Hi I'm building a navbar for the website, i want before/after change router app will call some function, any change to make it easy or i must use redux for that ?? thanks

thumbsup
0
message-simple
9

Service worker not working with next-offline

So I've used this guide: https://nextjs.org/features/progressive-web-apps to create a PWA, so I have a static/manifest.json like this: { "name": "News | Majorana Palermo", …

thumbsup
0
message-simple
3

Why does Next not go to the top of a new page, but somewhere in the middle...

I've got a simple button <Button href={"/folder1/page1"} > </Button> However, when page1 loads after that (especially on mobile) - the screen is not at the top, but somewhere in the middle of the page... …

thumbsup
0
message-simple
2

Error: Type ‘{ children: string; href: string; title: string; }’ is not…

This from tutorial: <Link href="/about" title="Hello">About</Link> using TypeScript as supported in Next.js 9 …

thumbsup
0
message-simple
2