Nextjs for everyone — with some basic knowledge of React

With some basic React and JavaScript knowledge, you’ll be on your way

Abstract background credited by

Getting starting with Next.js

mkdir nextjs-app
yarn add next
npm i next --save
yarn add react react-dom// with npmnpm i react react-dom --save
mkdir pages static
touch index.js home.js

My alternative

npx create-next-app my-app

Create custom configs for Next.js

yarn add @zeit/next-sass

The features

Server-side rendering

Generating a static website with Next.js


Lazy loading



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store