nextjs code example
Example 1: make nextjs project
npx create-next-app
yarn create next-app
Example 2: create next js app
npm init next-app nextjs-blog --example "https://github.com/vercel/next-learn-starter/tree/master/learn-starter"
Example 3: mdb nextjs
const withCSS = require('@zeit/next-css');
const withFonts = require('next-fonts');
const withImages = require('next-images');
const withPlugins = require("next-compose-plugins");
module.exports = withPlugins([withCSS, withFonts, withImages]);
Example 4: mdb nextjs
npm install --save mdbreact @zeit/next-css next-fonts next-images next-compose-plugins