Skip to content

whitedwarf2000/nextjs-redux

Repository files navigation

nextjs-redux

Base Next JS config with Redux

Setup

  1. Clone this repo using git clone https://github.com/whitedwarf2000/nextjs-redux.git <YOUR_PROJECT_NAME>
  2. Move to the appropriate directory: cd <YOUR_PROJECT_NAME>.
  3. Run yarn or npm install to install dependencies.

These scripts refer to the different stages of developing an application:

  • dev:desktop - Runs next which starts Next.js in development desktop mode
  • dev:mobile - Runs next which starts Next.js in development mobile mode
  • build:desktop - Runs next build which builds the application desktop mode for production usage
  • build:mobile - Runs next build which builds the application mobile for production usage
  • start - Runs next start which starts a Next.js production server
  • test - Runs all testing script
  • lint:fix - Runs lint fix script

Useful Libraries